summaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-06-20 21:35:26 +0000
committerRob Landley <rob@landley.net>2006-06-20 21:35:26 +0000
commit5483de1cb71b9cac095e4f6b65196b5390c06560 (patch)
treeae6cb0aeb5a2324920be39df80fcd0284ad1aac3 /shell/hush.c
parent9fe801e0d2a3a30855481d125980f7bbcd857920 (diff)
downloadbusybox-w32-5483de1cb71b9cac095e4f6b65196b5390c06560.tar.gz
busybox-w32-5483de1cb71b9cac095e4f6b65196b5390c06560.tar.bz2
busybox-w32-5483de1cb71b9cac095e4f6b65196b5390c06560.zip
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 e3707380d..1f4e2e833 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -665,7 +665,7 @@ static int builtin_read(struct child_prog *child)
665 } else 665 } else
666 res = -1; 666 res = -1;
667 if (res) 667 if (res)
668 fprintf(stderr, "read: %m\n"); 668 bb_perror_msg("read");
669 free(var); /* So not move up to avoid breaking errno */ 669 free(var); /* So not move up to avoid breaking errno */
670 return res; 670 return res;
671 } else { 671 } else {