aboutsummaryrefslogtreecommitdiff
path: root/coreutils/expand.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/expand.c')
-rw-r--r--coreutils/expand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/expand.c b/coreutils/expand.c
index 274753fd4..0ef106dbf 100644
--- a/coreutils/expand.c
+++ b/coreutils/expand.c
@@ -192,7 +192,7 @@ int expand_main(int argc, char **argv)
/* Check and close the file */
/* We do want all of them to execute, thus | instead of || */
if (ferror(file) | fclose_if_not_stdin(file)) {
- bb_perror_msg("%s", *argv);
+ bb_simple_perror_msg(*argv);
exit_status = EXIT_FAILURE;
}
/* If stdin also clear EOF */