summaryrefslogtreecommitdiff
path: root/usr.sbin/vipw/vipw.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-01 14:13:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-01 14:13:25 +0000
commitedbbae34be5abfdacdcf17e49eda7fb16054efac (patch)
treeeb785edd2e890dbdcef04db11a90ebd4a96d7224 /usr.sbin/vipw/vipw.c
parent6846c0600e2d6a880b6fc162947311bb9af6f8e5 (diff)
better error message
Diffstat (limited to 'usr.sbin/vipw/vipw.c')
-rw-r--r--usr.sbin/vipw/vipw.c2
1 files changed, 1 insertions, 1 deletions
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);