diff options
author | des <des@FreeBSD.org> | 2002-04-15 15:50:59 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-04-15 15:50:59 +0000 |
commit | 929a8fb33da9bf37ac6d590e39a2e60f00c6c4dd (patch) | |
tree | 24dd607e8a0a9a6546020dc4991dab2a7db0cbbc /lib/libutil | |
parent | 5486a1c99e83e46d84c69055664f7be76949b884 (diff) | |
download | FreeBSD-src-929a8fb33da9bf37ac6d590e39a2e60f00c6c4dd.zip FreeBSD-src-929a8fb33da9bf37ac6d590e39a2e60f00c6c4dd.tar.gz |
Remove bogus reference to _use_yp.
Diffstat (limited to 'lib/libutil')
-rw-r--r-- | lib/libutil/pw_util.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/libutil/pw_util.c b/lib/libutil/pw_util.c index 2c082e4..c5327cc 100644 --- a/lib/libutil/pw_util.c +++ b/lib/libutil/pw_util.c @@ -244,21 +244,13 @@ pw_prompt(void) void pw_error(const char *name, int error, int eval) { -#ifdef YP - extern int _use_yp; -#endif /* YP */ if (error) { if (name != NULL) warn("%s", name); else warn(NULL); } -#ifdef YP - if (_use_yp) - warnx("NIS information unchanged"); - else -#endif /* YP */ - warnx("%s: unchanged", masterpasswd); + warnx("password information unchanged"); (void)unlink(tempname); exit(eval); } |