diff options
| author | joerg <joerg@NetBSD.org> | 2012-02-29 23:37:07 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2012-02-29 23:37:07 +0000 |
| commit | e7a48b764bde2191e1492e42434773eec541b755 (patch) | |
| tree | d88329fedd3dc403856d353a5ee237398cdcdf5c /usr.bin/error/error.h | |
| parent | 3c34cb61d221178e58d6a74c19b96e5ff542be75 (diff) | |
Don't use non-literal format strings. Split it up depending on the
number of arguments used.
Diffstat (limited to 'usr.bin/error/error.h')
| -rw-r--r-- | usr.bin/error/error.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/error/error.h b/usr.bin/error/error.h index f740c33bad7..2be4ec45bcb 100644 --- a/usr.bin/error/error.h +++ b/usr.bin/error/error.h @@ -1,4 +1,4 @@ -/* $NetBSD: error.h,v 1.18 2011/08/17 13:11:22 christos Exp $ */ +/* $NetBSD: error.h,v 1.19 2012/02/29 23:37:07 joerg Exp $ */ /* * Copyright (c) 1980, 1993 @@ -114,7 +114,7 @@ extern const char *suffixlist; extern boolean query; extern boolean terse; -int inquire(const char *, ...); /* inquire for yes/no */ +int inquire(const char *, ...) __printflike(1, 2); /* inquire for yes/no */ /* * codes for inquire() to return |
