summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pw/pw.c
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2001-07-05 08:01:15 +0000
committerkris <kris@FreeBSD.org>2001-07-05 08:01:15 +0000
commit5a1251c5ff30e79f1e16dfa9e3f977846f71a5d8 (patch)
tree901937a3f43ff201051c548328506f15a60e25be /usr.sbin/pw/pw.c
parent38cc36696a5ece8af1957d9d5d59c56fffc94c67 (diff)
downloadFreeBSD-src-5a1251c5ff30e79f1e16dfa9e3f977846f71a5d8.zip
FreeBSD-src-5a1251c5ff30e79f1e16dfa9e3f977846f71a5d8.tar.gz
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 'usr.sbin/pw/pw.c')
-rw-r--r--usr.sbin/pw/pw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pw/pw.c b/usr.sbin/pw/pw.c
index a1f9d8c..b59b9f9 100644
--- a/usr.sbin/pw/pw.c
+++ b/usr.sbin/pw/pw.c
@@ -422,7 +422,7 @@ cmdhelp(int mode, int which)
}
};
- fprintf(stderr, help[which][mode]);
+ fprintf(stderr, "%s", help[which][mode]);
}
exit(EXIT_FAILURE);
}
OpenPOWER on IntegriCloud