summaryrefslogtreecommitdiffstats
path: root/libexec/bootpd/dovend.c
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-02-04 01:28:45 +0000
committerkris <kris@FreeBSD.org>2002-02-04 01:28:45 +0000
commit9c4676241d5feacfe4a7e69835ac1487521e5cf2 (patch)
tree1f6228726cf3571810378f96a250a61aebf9e93f /libexec/bootpd/dovend.c
parent94f0c44ca8b799021526de9d5982b60e76315416 (diff)
downloadFreeBSD-src-9c4676241d5feacfe4a7e69835ac1487521e5cf2.zip
FreeBSD-src-9c4676241d5feacfe4a7e69835ac1487521e5cf2.tar.gz
Mark report() as printflike and fix resulting warnings, including one bug
(get_errmsg -> get_errmsg())
Diffstat (limited to 'libexec/bootpd/dovend.c')
-rw-r--r--libexec/bootpd/dovend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/bootpd/dovend.c b/libexec/bootpd/dovend.c
index 9c8457b..279d59c 100644
--- a/libexec/bootpd/dovend.c
+++ b/libexec/bootpd/dovend.c
@@ -59,7 +59,7 @@ dovend_rfc1497(hp, buf, len)
int bytesleft = len;
byte *vp = buf;
- static char noroom[] = "%s: No room for \"%s\" option";
+ static const char noroom[] = "%s: No room for \"%s\" option";
#define NEED(LEN, MSG) do \
if (bytesleft < (LEN)) { \
report(LOG_NOTICE, noroom, \
OpenPOWER on IntegriCloud