aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/xfuncs.c2
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)
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);
}