diff options
author | mpp <mpp@FreeBSD.org> | 1996-01-22 15:33:20 +0000 |
---|---|---|
committer | mpp <mpp@FreeBSD.org> | 1996-01-22 15:33:20 +0000 |
commit | 73d51748dbcb8f8af4faaff3978856ae9f5b8f76 (patch) | |
tree | 973be22301a00ab654162b0707e4f41cb8b30a97 /usr.bin/ar | |
parent | 285a427184f99b06c5b365e09b169f2c41abcc19 (diff) | |
download | FreeBSD-src-73d51748dbcb8f8af4faaff3978856ae9f5b8f76.zip FreeBSD-src-73d51748dbcb8f8af4faaff3978856ae9f5b8f76.tar.gz |
Change ar's internal error routine to call err() instead of errx()
so that when ar has a problem (like trying to update a read-only
archive), you get a message like:
ar: xyzzy.a: Permission denined
instead of:
ar: xyzzy.a
Which doesn't really give the user any indication that the operation
really did fail.
This closes PR# 170.
Diffstat (limited to 'usr.bin/ar')
-rw-r--r-- | usr.bin/ar/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ar/misc.c b/usr.bin/ar/misc.c index 2a2ffb0..5fef8d6 100644 --- a/usr.bin/ar/misc.c +++ b/usr.bin/ar/misc.c @@ -142,5 +142,5 @@ error(name) char *name; { - errx(1, "%s", name); + err(1, "%s", name); } |