diff options
Diffstat (limited to 'mdk-stage1/disk.c')
-rw-r--r-- | mdk-stage1/disk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mdk-stage1/disk.c b/mdk-stage1/disk.c index 9b47ce466..ec9e1a97f 100644 --- a/mdk-stage1/disk.c +++ b/mdk-stage1/disk.c @@ -106,9 +106,9 @@ static enum return_type try_with_device(char *dev_name) strcpy(device_fullname, "/dev/"); strcat(device_fullname, choice); - if (my_mount(device_fullname, disk_own_mount, "ext2") == -1 && - my_mount(device_fullname, disk_own_mount, "vfat") == -1 && - my_mount(device_fullname, disk_own_mount, "reiserfs") == -1) { + if (my_mount(device_fullname, disk_own_mount, "ext2", 0) == -1 && + my_mount(device_fullname, disk_own_mount, "vfat", 0) == -1 && + my_mount(device_fullname, disk_own_mount, "reiserfs", 0) == -1) { stg1_error_message("I can't find a valid filesystem (tried: ext2, vfat, reiserfs)."); return try_with_device(dev_name); } |