From 890b951a3dd51ae250d91382c73e2f74a4fde6e3 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Sat, 29 Oct 2011 21:38:53 -0700 Subject: [PATCH] fix flash image for explicit bml path Change-Id: Ifeccfb65d6a927440249f7ab2fd9b0512ccc491c --- bmlutils/bmlutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bmlutils/bmlutils.c b/bmlutils/bmlutils.c index dad3975..a6b5415 100644 --- a/bmlutils/bmlutils.c +++ b/bmlutils/bmlutils.c @@ -65,7 +65,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 && strcmp(partition, "recoveryonly") != 0) + if (strcmp(partition, "boot") != 0 && strcmp(partition, "recovery") != 0 && strcmp(partition, "recoveryonly") != 0 && partition[0] != '/') return 6; int ret = -1;