- mention FIXME use find_mount_point()

This commit is contained in:
Bernhard Reutner-Fischer 2008-05-19 08:40:26 +00:00
parent 3576bed2f9
commit cb83abd7b6

View File

@ -378,7 +378,7 @@ static void check_mount(void)
struct mntent *mnt; struct mntent *mnt;
int cont; int cont;
int fd; int fd;
//XXX:FIXME use find_mount_point()
f = setmntent(MOUNTED, "r"); f = setmntent(MOUNTED, "r");
if (f == NULL) if (f == NULL)
return; return;
@ -405,7 +405,7 @@ static void check_mount(void)
cont = ask("Do you really want to continue", 0); cont = ask("Do you really want to continue", 0);
if (!cont) { if (!cont) {
printf("Check aborted\n"); printf("Check aborted\n");
exit(0); exit(EXIT_SUCCESS);
} }
} }