From 43a9d1849c5a88be8b529b16412365c3b1655460 Mon Sep 17 00:00:00 2001 From: kris Date: Mon, 4 Feb 2002 01:37:59 +0000 Subject: Mark a function as __printf0like(). This exposes a warning which requires some code changes to fix but should be possible. MFC after: 1 week --- libexec/rshd/rshd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libexec/rshd') diff --git a/libexec/rshd/rshd.c b/libexec/rshd/rshd.c index 5cef085..75d2e5a8 100644 --- a/libexec/rshd/rshd.c +++ b/libexec/rshd/rshd.c @@ -127,7 +127,7 @@ union sockunion { #define su_port su_si.si_port void doit __P((union sockunion *)); -static void rshd_errx __P((int, const char *, ...)); +static void rshd_errx __P((int, const char *, ...)) __printf0like(2, 3); void getstr __P((char *, int, char *)); int local_domain __P((char *)); char *topdomain __P((char *)); -- cgit v1.1