summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-11-20 20:45:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-11-20 20:45:08 +0000
commit173443dd15c366c8363bd7f515858ef5e6fd08a6 (patch)
treed91810bab591179995142904fac4df019b97906a /sbin
parent455756da635e844a829c58e37a2e63194f0c3598 (diff)
wow, a format string bug in a Makefile. Not surprised we missed this
one; peterw@ifost.org.au
Diffstat (limited to 'sbin')
-rw-r--r--sbin/routed/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/routed/Makefile b/sbin/routed/Makefile
index 8860d2da927..e1ed920c855 100644
--- a/sbin/routed/Makefile
+++ b/sbin/routed/Makefile
@@ -1,10 +1,10 @@
-# $OpenBSD: Makefile,v 1.10 2002/02/16 20:25:02 millert Exp $
+# $OpenBSD: Makefile,v 1.11 2002/11/20 20:45:07 deraadt Exp $
PROG= routed
SRCS= if.c input.c main.c output.c parms.c radix.c rdisc.c table.c trace.c
MAN= routed.8
CFLAGS+=-D_ROUTED -D'min(a,b)=(a < b ? a : b)' -D'log=syslog'
-CFLAGS+=-D'panic(s)={log(LOG_ERR,s); exit(1);}'
+CFLAGS+=-D'panic(s)={log(LOG_ERR, "%s", s); exit(1);}'
SUBDIR= rtquery
DPADD= ${LIBCOMPAT}
LDADD= -lcompat