diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2001-07-05 08:01:15 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2001-07-05 08:01:15 +0000 |
commit | b8c6c4c573523f5c6e59bb9bae4a961777c84fff (patch) | |
tree | 3bafff5aeef16cd9058ef40274c13d3eb26d9eb5 /pw/pw.h | |
parent | 51fe76f10b409bf02fabe8de1d63cd5c6c97e033 (diff) | |
download | pw-darwin-b8c6c4c573523f5c6e59bb9bae4a961777c84fff.tar.gz pw-darwin-b8c6c4c573523f5c6e59bb9bae4a961777c84fff.tar.zst pw-darwin-b8c6c4c573523f5c6e59bb9bae4a961777c84fff.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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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[]; |