more use libbb/bb_msg_read_error

This commit is contained in:
"Vladimir N. Oleynik" 2005-11-25 11:36:36 +00:00
parent 65bb10f253
commit 4eb2fd6826

View File

@ -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);
}