aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoushik Dutta <koushd@gmail.com>2013-06-08 08:58:11 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2013-06-08 08:58:11 -0700
commit51eb3cfd395824ce444c468ea9488d790e420155 (patch)
treec143520971e8099ceec618a47906f3edeb5d1f71
parent71d76c24dcdbdfaf4508c9121c794e4a324177cd (diff)
parent7ac751f6ea3e71651bfe54083a5b9a93647f0331 (diff)
downloadbootable_recovery-51eb3cfd395824ce444c468ea9488d790e420155.zip
bootable_recovery-51eb3cfd395824ce444c468ea9488d790e420155.tar.gz
bootable_recovery-51eb3cfd395824ce444c468ea9488d790e420155.tar.bz2
Merge "recovery: use just the mount point instead of the full path" into cm-10.1
-rw-r--r--roots.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/roots.c b/roots.c
index a42e355..44fa14a 100644
--- a/roots.c
+++ b/roots.c
@@ -298,7 +298,7 @@ int ensure_path_mounted_at_mount_point(const char* path, const char* mount_point
} else {
// let's try mounting with the mount binary and hope for the best.
char mount_cmd[PATH_MAX];
- sprintf(mount_cmd, "mount %s", path);
+ sprintf(mount_cmd, "mount %s", mount_point);
return __system(mount_cmd);
}