From 5483de1cb71b9cac095e4f6b65196b5390c06560 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 20 Jun 2006 21:35:26 +0000 Subject: Cleanup patch from Shaun Jackman converting %m to perror. --- shell/hush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell/hush.c') 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) } 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 { -- cgit v1.2.3