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.
This commit is contained in:
Mike Pritchard 1996-01-22 15:33:20 +00:00
parent b4b2f81ef3
commit 298e71bb78
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13564

View file

@ -142,5 +142,5 @@ error(name)
char *name;
{
errx(1, "%s", name);
err(1, "%s", name);
}