aboutsummaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
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 {