From 369347073fd018634b0f5d039498e56bf7b30513 Mon Sep 17 00:00:00 2001 From: sheldonh Date: Sat, 26 Jun 1999 10:45:06 +0000 Subject: 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(-) (limited to 'usr.sbin/vipw/vipw.c') diff --git a/usr.sbin/vipw/vipw.c b/usr.sbin/vipw/vipw.c index c555690..e7d8778 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 -- cgit v1.1