aboutsummaryrefslogtreecommitdiffstats
path: root/roots.c
diff options
context:
space:
mode:
authorKoushik Dutta <koushd@gmail.com>2011-02-27 17:00:47 -0800
committerKoushik Dutta <koushd@gmail.com>2011-02-27 17:00:47 -0800
commit7161f35736e6c45f16339462ddff45bcfcba38c0 (patch)
treea068ecd5b75f239c4495b9527daaa2e8ce8d5913 /roots.c
parent33e37f3e5d15cc604c7b2f9334af9775126d549b (diff)
downloadbootable_recovery-7161f35736e6c45f16339462ddff45bcfcba38c0.zip
bootable_recovery-7161f35736e6c45f16339462ddff45bcfcba38c0.tar.gz
bootable_recovery-7161f35736e6c45f16339462ddff45bcfcba38c0.tar.bz2
specify a type on the mount.
Change-Id: I610330e2971aaf235e0420fa7d4387e4f55b0015
Diffstat (limited to 'roots.c')
-rw-r--r--roots.c2
1 files changed, 1 insertions, 1 deletions
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)