aboutsummaryrefslogtreecommitdiffstats
path: root/roots.h
diff options
context:
space:
mode:
authorTom Marshall <tdm@cyngn.com>2015-11-06 16:27:01 -0800
committerTom Marshall <tdm@cyngn.com>2015-11-25 15:34:35 -0800
commitacc855f711ae7bce20e4fc896c829e135a6801fc (patch)
treea7be8c1fc394571765cda5e8b27c12c92ec1cc7d /roots.h
parente1ba5bc721daf65598feb2b5c46d1c06fac63ec4 (diff)
downloadbootable_recovery-acc855f711ae7bce20e4fc896c829e135a6801fc.zip
bootable_recovery-acc855f711ae7bce20e4fc896c829e135a6801fc.tar.gz
bootable_recovery-acc855f711ae7bce20e4fc896c829e135a6801fc.tar.bz2
recovery: Handle oemunlock command
* Conditionally compile support based on TARGET_HAVE_OEMLOCK. * Use liboemunlock for device specific support. Change-Id: I1cf1fef8e30075b0586bb86625b7df49723974cb
Diffstat (limited to 'roots.h')
-rw-r--r--roots.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/roots.h b/roots.h
index 9b369c0..addb142 100644
--- a/roots.h
+++ b/roots.h
@@ -42,7 +42,7 @@ int ensure_path_unmounted(const char* path, bool detach=false);
// Reformat the given volume (must be the mount point only, eg
// "/cache"), no paths permitted. Attempts to unmount the volume if
// it is mounted.
-int format_volume(const char* volume);
+int format_volume(const char* volume, bool force = false);
// Ensure that all and only the volumes that packages expect to find
// mounted (/tmp and /cache) are mounted. Returns 0 on success.