From b2cbfe083041c4b5929472f089f1e788ee2fb705 Mon Sep 17 00:00:00 2001 From: kris Date: Mon, 4 Feb 2002 02:12:49 +0000 Subject: Mark a function as __printflike() MFC after: 1 week --- usr.bin/whois/whois.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/whois/whois.c b/usr.bin/whois/whois.c index 4a0f186..b84e8ba 100644 --- a/usr.bin/whois/whois.c +++ b/usr.bin/whois/whois.c @@ -84,7 +84,7 @@ const char *port = DEFAULT_PORT; static char *choose_server(char *); static struct addrinfo *gethostinfo(char const *host, int exit_on_error); -static void s_asprintf(char **ret, const char *format, ...); +static void s_asprintf(char **ret, const char *format, ...) __printflike(2, 3); static void usage(void); static void whois(const char *, const char *, int); -- cgit v1.1