aboutsummaryrefslogtreecommitdiffstats
path: root/adb_install.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-08 16:51:36 -0700
committerElliott Hughes <enh@google.com>2015-04-08 16:56:17 -0700
commit018ed31c515de2c840dedaebb078ab455bf37ae8 (patch)
tree1d6cd4cb955dc89e313a6b3f894a10af4d833504 /adb_install.cpp
parent900c9a61dee1511c9f4086ea5a3a3632b944cc0e (diff)
downloadbootable_recovery-018ed31c515de2c840dedaebb078ab455bf37ae8.tar.gz
bootable_recovery-018ed31c515de2c840dedaebb078ab455bf37ae8.tar.bz2
bootable_recovery-018ed31c515de2c840dedaebb078ab455bf37ae8.zip
Enable printf format argument checking.
The original attempt missed the fact that Print is a member function, so the first argument is the implicit 'this'. Change-Id: I963b668c5432804c767f0a2e3ef7dea5978a1218
Diffstat (limited to 'adb_install.cpp')
-rw-r--r--adb_install.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/adb_install.cpp b/adb_install.cpp
index ed15938..9e605e2 100644
--- a/adb_install.cpp
+++ b/adb_install.cpp
@@ -109,7 +109,7 @@ apply_from_adb(RecoveryUI* ui_, bool* wipe_cache, const char* install_file) {
sleep(1);
continue;
} else {
- ui->Print("\nTimed out waiting for package.\n\n", strerror(errno));
+ ui->Print("\nTimed out waiting for package.\n\n");
result = INSTALL_ERROR;
kill(child, SIGKILL);
break;