From 5a1251c5ff30e79f1e16dfa9e3f977846f71a5d8 Mon Sep 17 00:00:00 2001 From: kris Date: Thu, 5 Jul 2001 08:01:15 +0000 Subject: 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 --- usr.sbin/pw/pw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/pw/pw.h') diff --git a/usr.sbin/pw/pw.h b/usr.sbin/pw/pw.h index aa437ec..f541b26 100644 --- a/usr.sbin/pw/pw.h +++ b/usr.sbin/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[]; -- cgit v1.1