From 7c1bffefebcce8be953bbb3469ae25861eebbb58 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Sat, 18 Dec 2010 19:44:33 -0800 Subject: [PATCH] Fix the build Change-Id: I2ae07e94eb68dd261b3978671aec88c25cd2518e --- updater/install.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/updater/install.c b/updater/install.c index d89aa28..7f6a991 100644 --- a/updater/install.c +++ b/updater/install.c @@ -31,7 +31,7 @@ #include "edify/expr.h" #include "mincrypt/sha.h" #include "minzip/DirUtil.h" -#include "mtdutils/mounts.h" +#include "mounts.h" #include "mtdutils/mtdutils.h" #include "updater.h" #include "applypatch/applypatch.h" @@ -683,7 +683,7 @@ Value* WriteRawImageFn(const char* name, State* state, int argc, Expr* argv[]) { if (0 == restore_raw_partition(partition, filename)) result = strdup(partition); else - result = success ? partition : strdup(""); + result = strdup(""); done: if (result != partition) free(partition);