diff options
author | kris <kris@FreeBSD.org> | 2002-02-04 01:37:59 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-02-04 01:37:59 +0000 |
commit | 43a9d1849c5a88be8b529b16412365c3b1655460 (patch) | |
tree | 60e4dc0727fa05b591f4674e0da9211cc0f3de95 | |
parent | 435834a74d433d820a30a2cbe881a42775ac2119 (diff) | |
download | FreeBSD-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.c | 2 |
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 *)); |