summaryrefslogtreecommitdiffstats
path: root/install.c
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2009-06-10 23:11:53 +0200
committerDoug Zongker <dougz@android.com>2009-06-12 01:25:29 +0200
commit9931f7f3c1288171319e9ff7d053ebaad07db720 (patch)
tree42ae5b40309f6ea3410c5ad496f81368675274f7 /install.c
parentMerge change 3514 into donut (diff)
downloadandroid_bootable_recovery-9931f7f3c1288171319e9ff7d053ebaad07db720.tar
android_bootable_recovery-9931f7f3c1288171319e9ff7d053ebaad07db720.tar.gz
android_bootable_recovery-9931f7f3c1288171319e9ff7d053ebaad07db720.tar.bz2
android_bootable_recovery-9931f7f3c1288171319e9ff7d053ebaad07db720.tar.lz
android_bootable_recovery-9931f7f3c1288171319e9ff7d053ebaad07db720.tar.xz
android_bootable_recovery-9931f7f3c1288171319e9ff7d053ebaad07db720.tar.zst
android_bootable_recovery-9931f7f3c1288171319e9ff7d053ebaad07db720.zip
Diffstat (limited to '')
-rw-r--r--install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.c b/install.c
index eff9312b4..0b5c04da9 100644
--- a/install.c
+++ b/install.c
@@ -256,7 +256,7 @@ try_update_binary(const char *path, ZipArchive *zip) {
int status;
waitpid(pid, &status, 0);
if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) {
- LOGE("Error in %s\n(Status %d)\n", path, status);
+ LOGE("Error in %s\n(Status %d)\n", path, WEXITSTATUS(status));
return INSTALL_ERROR;
}