diff options
author | kris <kris@FreeBSD.org> | 2002-02-04 01:07:07 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-02-04 01:07:07 +0000 |
commit | 51396a4bd615e079713881f9cb3a3b2e526aedf4 (patch) | |
tree | 28a214354e5aec4722b77e041a628f5aaf6b2307 /bin | |
parent | 01ec73592ad8a9c1cf6e6dbdfdafd45b3f1b48c7 (diff) | |
download | FreeBSD-src-51396a4bd615e079713881f9cb3a3b2e526aedf4.zip FreeBSD-src-51396a4bd615e079713881f9cb3a3b2e526aedf4.tar.gz |
Add a __printflike() attribute to silence warning with FORMAT_AUDIT=1
Diffstat (limited to 'bin')
-rw-r--r-- | bin/test/test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/test/test.c b/bin/test/test.c index bf33ac2..caeb798 100644 --- a/bin/test/test.c +++ b/bin/test/test.c @@ -34,7 +34,8 @@ static const char rcsid[] = #else #include <locale.h> -static void error(const char *, ...) __attribute__((__noreturn__)); +static void error(const char *, ...) __attribute__((__noreturn__)) + __printflike(1, 2); static void error(const char *msg, ...) |