From 7cf53d0aabbc09e087de0722b021623e78ee5e55 Mon Sep 17 00:00:00 2001 From: Sheldon Hearn Date: Sat, 26 Jun 1999 10:45:06 +0000 Subject: [PATCH] Report the correct master.passwd path on failure when the -d option is used. --- usr.sbin/vipw/vipw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/vipw/vipw.c b/usr.sbin/vipw/vipw.c index c55569040531..e7d8778ad3b5 100644 --- a/usr.sbin/vipw/vipw.c +++ b/usr.sbin/vipw/vipw.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)vipw.c 8.3 (Berkeley) 4/2/94"; #endif static const char rcsid[] = - "$Id: vipw.c,v 1.5 1997/10/27 07:53:22 charnier Exp $"; + "$Id: vipw.c,v 1.6 1999/06/26 07:16:42 sheldonh Exp $"; #endif /* not lint */ #include @@ -134,7 +134,7 @@ copyfile(from, to) if ((nw = write(to, buf + off, nr)) < 0) pw_error(tempname, 1, 1); if (nr < 0) - pw_error(_PATH_MASTERPASSWD, 1, 1); + pw_error(masterpasswd, 1, 1); } static void