From edbbae34be5abfdacdcf17e49eda7fb16054efac Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 1 Sep 1996 14:13:25 +0000 Subject: better error message --- usr.sbin/vipw/vipw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/vipw/vipw.c b/usr.sbin/vipw/vipw.c index 785b8087307..4b603e8d294 100644 --- a/usr.sbin/vipw/vipw.c +++ b/usr.sbin/vipw/vipw.c @@ -83,7 +83,7 @@ main(argc, argv) pw_init(); tfd = pw_lock(0); if (tfd < 0) - errx(1, "the passwd file is busy."); + errx(1, "the passwd file is busy or you cannot lock."); pfd = open(_PATH_MASTERPASSWD, O_RDONLY, 0); if (pfd < 0) pw_error(_PATH_MASTERPASSWD, 1, 1); -- cgit v1.2.3