From 018ed31c515de2c840dedaebb078ab455bf37ae8 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 8 Apr 2015 16:51:36 -0700 Subject: 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 --- recovery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recovery.cpp') diff --git a/recovery.cpp b/recovery.cpp index 2f8654a84..1726a227e 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -844,7 +844,7 @@ static int apply_from_sdcard(Device* device, bool* wipe_cache) { char* path = browse_directory(SDCARD_ROOT, device); if (path == NULL) { - ui->Print("\n-- No package file selected.\n", path); + ui->Print("\n-- No package file selected.\n"); return INSTALL_ERROR; } -- cgit v1.2.3