summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author"Vladimir N. Oleynik"2005-11-25 11:36:36 +0000
committer"Vladimir N. Oleynik"2005-11-25 11:36:36 +0000
commit4eb2fd6826aa197dcdbf3618fa0cae9d2de73d86 (patch)
tree3eb2a8d070e0b362546a281958554b49f7a0b7bb
parent65bb10f253f24be26c50dfdb99398afe6f2834f2 (diff)
downloadbusybox-4eb2fd6826aa197dcdbf3618fa0cae9d2de73d86.zip
busybox-4eb2fd6826aa197dcdbf3618fa0cae9d2de73d86.tar.gz
more use libbb/bb_msg_read_error
-rw-r--r--libbb/xfuncs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c
index 01b2f87..f85d3bb 100644
--- a/libbb/xfuncs.c
+++ b/libbb/xfuncs.c
@@ -120,7 +120,7 @@ extern ssize_t bb_xread(int fd, void *buf, size_t count)
size = read(fd, buf, count);
if (size == -1) {
- bb_perror_msg_and_die("Read error");
+ bb_perror_msg_and_die(bb_msg_read_error);
}
return(size);
}