commit 5c59ce4b790db825f40a8b7de0e7086abb14eccb
parent 6af5d14fad953416477587c3e0271c847f24e370
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Tue, 8 Jan 2019 11:04:04 +0000
[strip] Simplify error messages
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/cmd/strip.c b/src/cmd/strip.c
@@ -34,11 +34,11 @@ strip(char *fname)
filename = fname;
if ((tmp = fopen("strip.tmp", "wb")) == NULL) {
- error("%s", strerror(errno));
+ error(strerror(errno));
goto err;
}
if ((fp = fopen(fname, "rb")) == NULL) {
- error("%s", strerror(errno));
+ error(strerror(errno));
goto err1;
}
if ((type = objtype(fp, NULL)) < 0) {