scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

commit d56850a6e8abf570ec83aba1792b87dbde4dca07
parent b089e0b59de106c602032ad272ac64340fd5bc98
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Tue,  8 Jan 2019 11:04:04 +0000

[strip] Simplify error messages

Diffstat:
Msrc/cmd/strip.c | 4++--
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) {