diff options
author | kris <kris@FreeBSD.org> | 2000-07-12 00:50:15 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-07-12 00:50:15 +0000 |
commit | b2ae75bb55edd98a462e35a9b5372701fd293511 (patch) | |
tree | 6a0265e0cd3d0fd890990506ce1473a64590339a /usr.sbin/vipw | |
parent | bb4d1e0fb6cf0c74e049d738b113c790a24d5e52 (diff) | |
download | FreeBSD-src-b2ae75bb55edd98a462e35a9b5372701fd293511.zip FreeBSD-src-b2ae75bb55edd98a462e35a9b5372701fd293511.tar.gz |
Don't call warn() without a format string.
Diffstat (limited to 'usr.sbin/vipw')
-rw-r--r-- | usr.sbin/vipw/pw_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/vipw/pw_util.c b/usr.sbin/vipw/pw_util.c index 207da8f..fe99d71 100644 --- a/usr.sbin/vipw/pw_util.c +++ b/usr.sbin/vipw/pw_util.c @@ -250,7 +250,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"); |