From 298e71bb78f85e9e043e5adbb6af4f600e43e260 Mon Sep 17 00:00:00 2001 From: Mike Pritchard Date: Mon, 22 Jan 1996 15:33:20 +0000 Subject: [PATCH] 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. --- usr.bin/ar/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/ar/misc.c b/usr.bin/ar/misc.c index 2a2ffb03678..5fef8d6a2fb 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); }