aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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");