diff options
author | deraadt <deraadt@openbsd.org> | 1996-09-01 14:13:24 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 1996-09-01 14:13:24 +0000 |
commit | 0097f8b997bafa80888a1b7a077233e7b29c2a65 (patch) | |
tree | 40b1b2532db91ab13f30c3276cd18c7e52d86421 /usr.sbin/vipw | |
parent | dialup tty semantic is wrong (diff) | |
download | wireguard-openbsd-0097f8b997bafa80888a1b7a077233e7b29c2a65.tar.xz wireguard-openbsd-0097f8b997bafa80888a1b7a077233e7b29c2a65.zip |
better error message
Diffstat (limited to 'usr.sbin/vipw')
-rw-r--r-- | usr.sbin/vipw/vipw.c | 2 |
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); |