mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Remove bogus reference to _use_yp.
This commit is contained in:
parent
4c7e4a544a
commit
1c9fd646f6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=94776
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue