more use libbb/bb_msg_read_error
author"Vladimir N. Oleynik" <dzo@simtreas.ru>
Fri, 25 Nov 2005 11:36:36 +0000 (11:36 -0000)
committer"Vladimir N. Oleynik" <dzo@simtreas.ru>
Fri, 25 Nov 2005 11:36:36 +0000 (11:36 -0000)
libbb/xfuncs.c

index 01b2f87bcd2504e538db3b3fd502a3ecd7f62cdd..f85d3bb2631fb7074ccddc993690cbe18f34abb2 100644 (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);
 }