mirror of
https://github.com/sheumann/hush.git
synced 2024-12-27 01:32:08 +00:00
more use libbb/bb_msg_read_error
This commit is contained in:
parent
65bb10f253
commit
4eb2fd6826
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user