From 9c4676241d5feacfe4a7e69835ac1487521e5cf2 Mon Sep 17 00:00:00 2001 From: kris Date: Mon, 4 Feb 2002 01:28:45 +0000 Subject: Mark report() as printflike and fix resulting warnings, including one bug (get_errmsg -> get_errmsg()) --- libexec/bootpd/dovend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libexec/bootpd/dovend.c') 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, \ -- cgit v1.1