summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_syslog.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/kern_syslog.c b/sys/kern/kern_syslog.c
index eb4fa8d..a0ef04e 100644
--- a/sys/kern/kern_syslog.c
+++ b/sys/kern/kern_syslog.c
@@ -191,7 +191,6 @@ kprintf(const char *fmt, ...)
}
}
- spinlock_acquire(&lock);
if (use_timestamp) {
syslog_write(timestamp, strlen(timestamp));
}
@@ -200,7 +199,6 @@ kprintf(const char *fmt, ...)
vkprintf(fmt_p, &ap);
va_end(ap);
- spinlock_release(&lock);
}
/*