diff options
author | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-11-25 11:36:36 +0000 |
---|---|---|
committer | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-11-25 11:36:36 +0000 |
commit | 4eb2fd6826aa197dcdbf3618fa0cae9d2de73d86 (patch) | |
tree | 3eb2a8d070e0b362546a281958554b49f7a0b7bb /libbb | |
parent | 65bb10f253f24be26c50dfdb99398afe6f2834f2 (diff) | |
download | busybox-w32-4eb2fd6826aa197dcdbf3618fa0cae9d2de73d86.tar.gz busybox-w32-4eb2fd6826aa197dcdbf3618fa0cae9d2de73d86.tar.bz2 busybox-w32-4eb2fd6826aa197dcdbf3618fa0cae9d2de73d86.zip |
more use libbb/bb_msg_read_error
Diffstat (limited to 'libbb')
-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 01b2f87bc..f85d3bb26 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) | |||
120 | 120 | ||
121 | size = read(fd, buf, count); | 121 | size = read(fd, buf, count); |
122 | if (size == -1) { | 122 | if (size == -1) { |
123 | bb_perror_msg_and_die("Read error"); | 123 | bb_perror_msg_and_die(bb_msg_read_error); |
124 | } | 124 | } |
125 | return(size); | 125 | return(size); |
126 | } | 126 | } |