aboutsummaryrefslogtreecommitdiff
path: root/util-linux/fdformat.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/fdformat.c')
-rw-r--r--util-linux/fdformat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/fdformat.c b/util-linux/fdformat.c
index ff3bc4870..e1c8561d6 100644
--- a/util-linux/fdformat.c
+++ b/util-linux/fdformat.c
@@ -117,7 +117,7 @@ int fdformat_main(int argc UNUSED_PARAM, char **argv)
117 read_bytes = safe_read(fd, data, n); 117 read_bytes = safe_read(fd, data, n);
118 if (read_bytes != n) { 118 if (read_bytes != n) {
119 if (read_bytes < 0) { 119 if (read_bytes < 0) {
120 bb_perror_msg(bb_msg_read_error); 120 bb_simple_perror_msg(bb_msg_read_error);
121 } 121 }
122 bb_error_msg_and_die("problem reading cylinder %d, " 122 bb_error_msg_and_die("problem reading cylinder %d, "
123 "expected %d, read %d", cyl, n, read_bytes); 123 "expected %d, read %d", cyl, n, read_bytes);