Cleanup patch from Shaun Jackman converting %m to perror.

This commit is contained in:
Rob Landley
2006-06-20 21:35:26 +00:00
parent 9fe801e0d2
commit 5483de1cb7
2 changed files with 5 additions and 5 deletions

View File

@ -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 {