summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-02-04 01:37:59 +0000
committerkris <kris@FreeBSD.org>2002-02-04 01:37:59 +0000
commit43a9d1849c5a88be8b529b16412365c3b1655460 (patch)
tree60e4dc0727fa05b591f4674e0da9211cc0f3de95
parent435834a74d433d820a30a2cbe881a42775ac2119 (diff)
downloadFreeBSD-src-43a9d1849c5a88be8b529b16412365c3b1655460.zip
FreeBSD-src-43a9d1849c5a88be8b529b16412365c3b1655460.tar.gz
Mark a function as __printf0like(). This exposes a warning which requires
some code changes to fix but should be possible. MFC after: 1 week
-rw-r--r--libexec/rshd/rshd.c2
1 files changed, 1 insertions, 1 deletions
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 *));
OpenPOWER on IntegriCloud