ref: 5c59ce4b790db825f40a8b7de0e7086abb14eccb
parent: 6af5d14fad953416477587c3e0271c847f24e370
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Tue Jan 8 06:04:04 EST 2019
[strip] Simplify error messages
--- a/src/cmd/strip.c
+++ b/src/cmd/strip.c
@@ -34,11 +34,11 @@
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) {