diff --git a/roots.c b/roots.c index fae7faa..8320061 100644 --- a/roots.c +++ b/roots.c @@ -126,7 +126,7 @@ int try_mount(const char* device, const char* mount_point, const char* fs_type, } else { char mount_cmd[PATH_MAX]; - sprintf(mount_cmd, "mount -o%s %s %s", fs_options, device, mount_point); + sprintf(mount_cmd, "mount -t %s -o%s %s %s", fs_type, fs_options, device, mount_point); ret = __system(mount_cmd); } if (ret == 0)