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 | 483c94ce774634296cb0d083008ba2358ab6b6a1 (patch) | |
tree | 6a40433b8bcf953e24042fb32fdfa95846c2afaa /libutil | |
parent | ddadffee3be6035a1ecd5a7724aebcfa40aa212b (diff) | |
download | pw-darwin-483c94ce774634296cb0d083008ba2358ab6b6a1.tar.gz pw-darwin-483c94ce774634296cb0d083008ba2358ab6b6a1.tar.zst pw-darwin-483c94ce774634296cb0d083008ba2358ab6b6a1.zip |
Don't call warn() without a format string.
Diffstat (limited to 'libutil')
-rw-r--r-- | libutil/pw_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libutil/pw_util.c b/libutil/pw_util.c index 207da8f..fe99d71 100644 --- a/libutil/pw_util.c +++ b/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"); |