summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2015-09-11 12:33:37 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2015-09-11 12:33:37 +0000
commit980d316dd4f231e1abdc4f7fd1fc20c5f192606f (patch)
tree7c26d26765f074324f86d010b2ff74f78d3c59a2
parent6eefbefdaf9a572ca9c314d7dcea8b57058fe582 (diff)
The must be no space after the syslog priority in the sendsyslog(2)
dropped message error log. OK benno@
-rw-r--r--sys/kern/subr_log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_log.c b/sys/kern/subr_log.c
index eeb9961acdd..ce216a056b7 100644
--- a/sys/kern/subr_log.c
+++ b/sys/kern/subr_log.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_log.c,v 1.31 2015/09/02 13:21:37 bluhm Exp $ */
+/* $OpenBSD: subr_log.c,v 1.32 2015/09/11 12:33:36 bluhm Exp $ */
/* $NetBSD: subr_log.c,v 1.11 1996/03/30 22:24:44 christos Exp $ */
/*
@@ -364,7 +364,7 @@ sys_sendsyslog(struct proc *p, void *v, register_t *retval)
if (dropped_count) {
len = snprintf(buf, sizeof(buf),
- "<%d> sendsyslog: dropped %d message%s, error %d",
+ "<%d>sendsyslog: dropped %d message%s, error %d",
LOG_KERN|LOG_WARNING, dropped_count,
dropped_count == 1 ? "" : "s", orig_error);
error = dosendsyslog(p, buf, MIN((size_t)len, sizeof(buf) - 1),