diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2000-07-12 00:50:15 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2000-07-12 00:50:15 +0000 |
commit | 0e0b415c72661a9ff645872609c2751b09b34179 (patch) | |
tree | f4951fcf7a2ca5d2a4e8c8dfac6e986c3b747171 /lib/libutil/pw_util.c | |
parent | 2b2b44c9833058d637c4f2eeb7316eb499d8460d (diff) |
Don't call warn() without a format string.
Notes
Notes:
svn path=/head/; revision=62988
Diffstat (limited to 'lib/libutil/pw_util.c')
-rw-r--r-- | lib/libutil/pw_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libutil/pw_util.c b/lib/libutil/pw_util.c index 207da8f0d5bf..fe99d7171b34 100644 --- a/lib/libutil/pw_util.c +++ b/lib/libutil/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"); |