diff options
author | kris <kris@FreeBSD.org> | 2002-02-04 02:12:49 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-02-04 02:12:49 +0000 |
commit | b2cbfe083041c4b5929472f089f1e788ee2fb705 (patch) | |
tree | fbac3c29a1f4a225fb7f63f41332effe90c9d30e | |
parent | 5f428d0f3ce5b1b452a750d6db68809eff156a9e (diff) | |
download | FreeBSD-src-b2cbfe083041c4b5929472f089f1e788ee2fb705.zip FreeBSD-src-b2cbfe083041c4b5929472f089f1e788ee2fb705.tar.gz |
Mark a function as __printflike()
MFC after: 1 week
-rw-r--r-- | usr.bin/whois/whois.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |