summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2015-02-09 09:28:57 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2015-02-09 09:28:57 +0000
commitf305c01daa597f005f3a5f9884ca482a2d293fb0 (patch)
treea5a5866245d46050807e5eab132ad3a0ce85b389
parent34cdda663a6dc1be12ba72bcdfe6966c4806c029 (diff)
Fix format string of -m error message.
OK deraadt@
-rw-r--r--usr.sbin/syslogd/syslogd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c
index f3324c8ab14..0bd5239efad 100644
--- a/usr.sbin/syslogd/syslogd.c
+++ b/usr.sbin/syslogd/syslogd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: syslogd.c,v 1.151 2015/02/08 15:17:30 bluhm Exp $ */
+/* $OpenBSD: syslogd.c,v 1.152 2015/02/09 09:28:56 bluhm Exp $ */
/*
* Copyright (c) 1983, 1988, 1993, 1994
@@ -353,7 +353,7 @@ main(int argc, char *argv[])
case 'm': /* mark interval */
MarkInterval = strtonum(optarg, 0, 365*24*60, &errstr);
if (errstr)
- errx(1, "mark_interval: %s", errstr, optarg);
+ errx(1, "mark_interval %s: %s", errstr, optarg);
MarkInterval *= 60;
break;
case 'n': /* don't do DNS lookups */