]> git.cameronkatri.com Git - pw-darwin.git/commitdiff
Remove bogus reference to _use_yp.
authorDag-Erling Smørgrav <des@FreeBSD.org>
Mon, 15 Apr 2002 15:50:59 +0000 (15:50 +0000)
committerDag-Erling Smørgrav <des@FreeBSD.org>
Mon, 15 Apr 2002 15:50:59 +0000 (15:50 +0000)
libutil/pw_util.c

index 2c082e4286f8b30aa51508806678b8a9f8fad302..c5327ccfbf8b5945f85f0bd9c4bb4ad37924b182 100644 (file)
@@ -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);
 }