From 4eb2fd6826aa197dcdbf3618fa0cae9d2de73d86 Mon Sep 17 00:00:00 2001 From: "Vladimir N. Oleynik" Date: Fri, 25 Nov 2005 11:36:36 +0000 Subject: more use libbb/bb_msg_read_error --- libbb/xfuncs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbb') diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c index 01b2f87..f85d3bb 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); } -- cgit v1.1