diff options
author | kris <kris@FreeBSD.org> | 2002-02-04 01:28:45 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-02-04 01:28:45 +0000 |
commit | 9c4676241d5feacfe4a7e69835ac1487521e5cf2 (patch) | |
tree | 1f6228726cf3571810378f96a250a61aebf9e93f /libexec/bootpd/dovend.c | |
parent | 94f0c44ca8b799021526de9d5982b60e76315416 (diff) | |
download | FreeBSD-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.c | 2 |
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, \ |