diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-10-01 11:58:38 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-10-01 11:58:38 +0000 |
commit | 0c97c9d43707da745fe2bc62ab2a69497ceaf666 (patch) | |
tree | 267d0feb99f457b68c09315b3f3aebe8dfd6d411 /coreutils/head.c | |
parent | d65ea39ffc7503807fa95e8840c012a80c83e4f3 (diff) | |
download | busybox-w32-0c97c9d43707da745fe2bc62ab2a69497ceaf666.tar.gz busybox-w32-0c97c9d43707da745fe2bc62ab2a69497ceaf666.tar.bz2 busybox-w32-0c97c9d43707da745fe2bc62ab2a69497ceaf666.zip |
'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>.
263 bytes saved.
Diffstat (limited to 'coreutils/head.c')
-rw-r--r-- | coreutils/head.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/head.c b/coreutils/head.c index a48f147a2..af9e9f41e 100644 --- a/coreutils/head.c +++ b/coreutils/head.c | |||
@@ -128,7 +128,7 @@ int head_main(int argc, char **argv) | |||
128 | putchar(c); | 128 | putchar(c); |
129 | } | 129 | } |
130 | if (fclose_if_not_stdin(fp)) { | 130 | if (fclose_if_not_stdin(fp)) { |
131 | bb_perror_msg("%s", *argv); /* Avoid multibyte problems. */ | 131 | bb_simple_perror_msg(*argv); /* Avoid multibyte problems. */ |
132 | retval = EXIT_FAILURE; | 132 | retval = EXIT_FAILURE; |
133 | } | 133 | } |
134 | die_if_ferror_stdout(); | 134 | die_if_ferror_stdout(); |