From e13b8b8470a04e7ecebd2086ff2c6325df7d8b5e Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Wed, 4 Oct 2000 05:44:33 +0000 Subject: MFC: printf-style format fix. warn(string) -> warn("%s", string) --- usr.sbin/vipw/pw_util.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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"); -- cgit v1.2.3