aboutsummaryrefslogtreecommitdiff
path: root/libbb/read_printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/read_printf.c')
-rw-r--r--libbb/read_printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/read_printf.c b/libbb/read_printf.c
index cb582c080..0cd04ab7b 100644
--- a/libbb/read_printf.c
+++ b/libbb/read_printf.c
@@ -217,7 +217,7 @@ void FAST_FUNC xread(int fd, void *buf, size_t count)
if (count) {
ssize_t size = full_read(fd, buf, count);
if ((size_t)size != count)
- bb_error_msg_and_die("short read");
+ bb_simple_error_msg_and_die("short read");
}
}