summaryrefslogtreecommitdiffstats
path: root/usr.bin/whois
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-02-04 02:12:49 +0000
committerkris <kris@FreeBSD.org>2002-02-04 02:12:49 +0000
commitb2cbfe083041c4b5929472f089f1e788ee2fb705 (patch)
treefbac3c29a1f4a225fb7f63f41332effe90c9d30e /usr.bin/whois
parent5f428d0f3ce5b1b452a750d6db68809eff156a9e (diff)
downloadFreeBSD-src-b2cbfe083041c4b5929472f089f1e788ee2fb705.zip
FreeBSD-src-b2cbfe083041c4b5929472f089f1e788ee2fb705.tar.gz
Mark a function as __printflike()
MFC after: 1 week
Diffstat (limited to 'usr.bin/whois')
-rw-r--r--usr.bin/whois/whois.c2
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);
OpenPOWER on IntegriCloud