diff options
author | sheldonh <sheldonh@FreeBSD.org> | 1999-06-26 10:45:06 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 1999-06-26 10:45:06 +0000 |
commit | 369347073fd018634b0f5d039498e56bf7b30513 (patch) | |
tree | f50af38a4728f0b67e599f309f13e0c734089142 | |
parent | f1511ed53d93ea728a5d6220ab363e4a7f7522a7 (diff) | |
download | FreeBSD-src-369347073fd018634b0f5d039498e56bf7b30513.zip FreeBSD-src-369347073fd018634b0f5d039498e56bf7b30513.tar.gz |
Report the correct master.passwd path on failure when the -d option is
used.
-rw-r--r-- | usr.sbin/vipw/vipw.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <sys/types.h> @@ -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 |