summaryrefslogtreecommitdiff
path: root/util-linux/fsck_minix.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-12-12 23:51:43 +0000
committerEric Andersen <andersen@codepoet.org>2000-12-12 23:51:43 +0000
commit77508b29fa63d99136fc09f00c5a2addd6331b4c (patch)
tree60c6890f5f3b8330791038faecb1bf56a8423ab1 /util-linux/fsck_minix.c
parentf361ac29b0f94c85a8aeb1185301f8197f64fe42 (diff)
downloadbusybox-w32-77508b29fa63d99136fc09f00c5a2addd6331b4c.tar.gz
busybox-w32-77508b29fa63d99136fc09f00c5a2addd6331b4c.tar.bz2
busybox-w32-77508b29fa63d99136fc09f00c5a2addd6331b4c.zip
Fix from Gennady Feldman for error msg
Diffstat (limited to 'util-linux/fsck_minix.c')
-rw-r--r--util-linux/fsck_minix.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/util-linux/fsck_minix.c b/util-linux/fsck_minix.c
index 9ebabe9e5..b35e6bb07 100644
--- a/util-linux/fsck_minix.c
+++ b/util-linux/fsck_minix.c
@@ -1404,8 +1404,10 @@ extern int fsck_minix_main(int argc, char **argv)
1404 die("need terminal for interactive repairs"); 1404 die("need terminal for interactive repairs");
1405 } 1405 }
1406 IN = open(device_name, repair ? O_RDWR : O_RDONLY); 1406 IN = open(device_name, repair ? O_RDWR : O_RDONLY);
1407 if (IN < 0) 1407 if (IN < 0){
1408 die("unable to open '%s'"); 1408 fprintf(stderr,"unable to open device '%s'.\n",device_name);
1409 leave(8);
1410 }
1409 for (count = 0; count < 3; count++) 1411 for (count = 0; count < 3; count++)
1410 sync(); 1412 sync();
1411 read_superblock(); 1413 read_superblock();