summaryrefslogtreecommitdiff
path: root/util-linux/fsck_minix.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2008-05-19 08:40:26 +0000
committerBernhard Reutner-Fischer2008-05-19 08:40:26 +0000
commitcb83abd7b6b052224c1f3b998e863aac76914afd (patch)
treef99d2980cdcb77c7ae0675e6a305425cb74002a4 /util-linux/fsck_minix.c
parent3576bed2f9863f8561984b6b3b34af961bcbd544 (diff)
downloadbusybox-cb83abd7b6b052224c1f3b998e863aac76914afd.zip
busybox-cb83abd7b6b052224c1f3b998e863aac76914afd.tar.gz
- mention FIXME use find_mount_point()
Diffstat (limited to 'util-linux/fsck_minix.c')
-rw-r--r--util-linux/fsck_minix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/fsck_minix.c b/util-linux/fsck_minix.c
index 7ef5449..3ebc076 100644
--- a/util-linux/fsck_minix.c
+++ b/util-linux/fsck_minix.c
@@ -378,7 +378,7 @@ static void check_mount(void)
struct mntent *mnt;
int cont;
int fd;
-
+//XXX:FIXME use find_mount_point()
f = setmntent(MOUNTED, "r");
if (f == NULL)
return;
@@ -405,7 +405,7 @@ static void check_mount(void)
cont = ask("Do you really want to continue", 0);
if (!cont) {
printf("Check aborted\n");
- exit(0);
+ exit(EXIT_SUCCESS);
}
}