aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2000-10-04 05:44:33 +0000
committerPeter Wemm <peter@FreeBSD.org>2000-10-04 05:44:33 +0000
commite13b8b8470a04e7ecebd2086ff2c6325df7d8b5e (patch)
treeeae50b93310058a88f3b91ce10535db5df611347
parent4143074561e326d79a7f13e7efbf3d139bf2f9c6 (diff)
downloadsrc-stable/2.1.tar.gz
src-stable/2.1.zip
MFC: printf-style format fix. warn(string) -> warn("%s", string)stable/2.1
Notes
Notes: svn path=/stable/2.1/; revision=66618
-rw-r--r--usr.sbin/vipw/pw_util.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/vipw/pw_util.c b/usr.sbin/vipw/pw_util.c
index 60b4f77bf253..9e772bfe43e0 100644
--- a/usr.sbin/vipw/pw_util.c
+++ b/usr.sbin/vipw/pw_util.c
@@ -32,7 +32,12 @@
*/
#ifndef lint
+#if 0
static char sccsid[] = "@(#)pw_util.c 8.3 (Berkeley) 4/2/94";
+#else
+static const char rcsid[] =
+ "$FreeBSD$";
+#endif
#endif /* not lint */
/*
@@ -215,7 +220,7 @@ pw_error(name, err, eval)
extern int _use_yp;
#endif /* YP */
if (err)
- warn(name);
+ warn("%s", name);
#ifdef YP
if (_use_yp)
warnx("NIS information unchanged");