From cd8af06d645334634dd7c9af15e6545184b4d82f Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Sun, 12 Dec 2010 02:53:21 -0800 Subject: [PATCH] whoops Change-Id: I9c46bb443c43186fda1ae71e49278bd1a7d6aa6f --- bmlutils/bmlutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bmlutils/bmlutils.c b/bmlutils/bmlutils.c index 92bd929..5ac08b7 100644 --- a/bmlutils/bmlutils.c +++ b/bmlutils/bmlutils.c @@ -27,7 +27,7 @@ int cmd_bml_restore_raw_partition(const char *partition, const char *filename) { printf("bml restore\n"); int fd = open("/dev/block/bml7", O_RDWR | O_LARGEFILE); - return ioctl(fd, BML_UNLOCK_ALL, 0); + ioctl(fd, BML_UNLOCK_ALL, 0); char tmp[PATH_MAX]; sprintf("dd if=%s of=/dev/block/bml7 bs=4096", filename);