summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcp/Makefile.inc
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2001-08-18 20:38:57 +0000
committerBob Beck <beck@cvs.openbsd.org>2001-08-18 20:38:57 +0000
commit0d3662ae94e9970d0836ca94cb251b967b54f305 (patch)
treea8056df76aeb65984b326b54fb9c69cdb462d6d6 /usr.sbin/dhcp/Makefile.inc
parent7e0d3ec7f52283a0bc913cb366a5707e19a31a86 (diff)
be careful with snprintf/strlcpy - account for cases where they
can return values bigger than the length specified.
Diffstat (limited to 'usr.sbin/dhcp/Makefile.inc')
-rw-r--r--usr.sbin/dhcp/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/dhcp/Makefile.inc b/usr.sbin/dhcp/Makefile.inc
index 31241eb0063..933151d6abc 100644
--- a/usr.sbin/dhcp/Makefile.inc
+++ b/usr.sbin/dhcp/Makefile.inc
@@ -41,7 +41,7 @@ SRCS += alloc.c dispatch.c hash.c memory.c print.c bpf.c icmp.c options.c \
ethernet.c parse.c tables.c
CPPFLAGS+= -I${.CURDIR}/.. -I${.CURDIR}/../includes \
- -DCLIENT_PATH=${CLIENT_PATH} -Wall
+ -DCLIENT_PATH=${CLIENT_PATH} -Wall -Werror
.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"