From f305c01daa597f005f3a5f9884ca482a2d293fb0 Mon Sep 17 00:00:00 2001 From: Alexander Bluhm Date: Mon, 9 Feb 2015 09:28:57 +0000 Subject: Fix format string of -m error message. OK deraadt@ --- usr.sbin/syslogd/syslogd.c | 4 ++-- 1 file 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 */ -- cgit v1.2.3