artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40a2f27
)
better error message
author
deraadt
<deraadt@openbsd.org>
Sun, 1 Sep 1996 14:13:24 +0000
(14:13 +0000)
committer
deraadt
<deraadt@openbsd.org>
Sun, 1 Sep 1996 14:13:24 +0000
(14:13 +0000)
usr.sbin/vipw/vipw.c
patch
|
blob
|
history
diff --git
a/usr.sbin/vipw/vipw.c
b/usr.sbin/vipw/vipw.c
index
785b808
..
4b603e8
100644
(file)
--- 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);