diff options
author | "Vladimir N. Oleynik" | 2005-11-25 11:36:36 +0000 |
---|---|---|
committer | "Vladimir N. Oleynik" | 2005-11-25 11:36:36 +0000 |
commit | 4eb2fd6826aa197dcdbf3618fa0cae9d2de73d86 (patch) | |
tree | 3eb2a8d070e0b362546a281958554b49f7a0b7bb | |
parent | 65bb10f253f24be26c50dfdb99398afe6f2834f2 (diff) | |
download | busybox-4eb2fd6826aa197dcdbf3618fa0cae9d2de73d86.zip busybox-4eb2fd6826aa197dcdbf3618fa0cae9d2de73d86.tar.gz |
more use libbb/bb_msg_read_error
-rw-r--r-- | libbb/xfuncs.c | 2 |
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); } |