aboutsummaryrefslogtreecommitdiffstats
path: root/bmlutils
diff options
context:
space:
mode:
authorKoushik Dutta <koushd@gmail.com>2011-05-30 15:21:44 -0700
committerKoushik Dutta <koushd@gmail.com>2011-05-30 15:21:44 -0700
commitb2d30187d6884ddbca35cd0fb81e55be2ab78f4c (patch)
tree4b8fa3292f3d42ccc07f14dee02a603fb1654102 /bmlutils
parent195e06be59d1868b00544634da673a0eae3b103e (diff)
downloadbootable_recovery-b2d30187d6884ddbca35cd0fb81e55be2ab78f4c.zip
bootable_recovery-b2d30187d6884ddbca35cd0fb81e55be2ab78f4c.tar.gz
bootable_recovery-b2d30187d6884ddbca35cd0fb81e55be2ab78f4c.tar.bz2
remove logging, fix bug
Change-Id: Ia7d0f5e7cdf64235bb2142d9143fff3f289ad605
Diffstat (limited to 'bmlutils')
-rw-r--r--bmlutils/bmlutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bmlutils/bmlutils.c b/bmlutils/bmlutils.c
index d81cf11..9ef04b4 100644
--- a/bmlutils/bmlutils.c
+++ b/bmlutils/bmlutils.c
@@ -58,7 +58,7 @@ static int restore_internal(const char* bml, const char* filename)
int cmd_bml_restore_raw_partition(const char *partition, const char *filename)
{
- if (strcmp(partition, "boot") != 0 && strcmp(partition, "recovery") != 0)
+ if (strcmp(partition, "boot") != 0 && strcmp(partition, "recovery") != 0 && strcmp(partition, "recoveryonly") != 0)
return 6;
int ret = -1;