summaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
authorRob Landley2006-06-20 21:35:26 +0000
committerRob Landley2006-06-20 21:35:26 +0000
commit5483de1cb71b9cac095e4f6b65196b5390c06560 (patch)
treeae6cb0aeb5a2324920be39df80fcd0284ad1aac3 /shell/hush.c
parent9fe801e0d2a3a30855481d125980f7bbcd857920 (diff)
downloadbusybox-5483de1cb71b9cac095e4f6b65196b5390c06560.zip
busybox-5483de1cb71b9cac095e4f6b65196b5390c06560.tar.gz
Cleanup patch from Shaun Jackman converting %m to perror.
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c
index e370738..1f4e2e8 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -665,7 +665,7 @@ static int builtin_read(struct child_prog *child)
} else
res = -1;
if (res)
- fprintf(stderr, "read: %m\n");
+ bb_perror_msg("read");
free(var); /* So not move up to avoid breaking errno */
return res;
} else {