summaryrefslogtreecommitdiffstats
path: root/pw/pw.h
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-07-05 08:01:15 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-07-05 08:01:15 +0000
commitf261aeb7dec1e5cf4f3c84ce856bf93cbefb0352 (patch)
tree619cf450d37c4ddda4f9f57f313db17ccb1fd9c7 /pw/pw.h
parente5f1fcc0b64d23603afdc38a0aaf64904baba212 (diff)
downloadpw-darwin-f261aeb7dec1e5cf4f3c84ce856bf93cbefb0352.tar.gz
pw-darwin-f261aeb7dec1e5cf4f3c84ce856bf93cbefb0352.zip
Fix a harmless format string bogon and mark a function as __printflike().
There is still one instance of non-constant format string use inside that function, but it's hard to fix. MFC after: 1 week
Diffstat (limited to 'pw/pw.h')
-rw-r--r--pw/pw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pw/pw.h b/pw/pw.h
index aa437ec..f541b26 100644
--- a/pw/pw.h
+++ b/pw/pw.h
@@ -124,7 +124,7 @@ int boolean_val(char const * str, int dflt);
char const *boolean_str(int val);
char *newstr(char const * p);
-void pw_log(struct userconf * cnf, int mode, int which, char const * fmt,...);
+void pw_log(struct userconf * cnf, int mode, int which, char const * fmt,...) __printflike(4, 5);
char *pw_pwcrypt(char *password);
extern const char *Modes[];