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
This commit is contained in:
Elliott Hughes
2015-04-08 16:51:36 -07:00
parent 900c9a61de
commit 018ed31c51
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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;