diff options
author | Elliott Hughes <enh@google.com> | 2015-04-08 16:51:36 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-04-08 16:56:17 -0700 |
commit | 018ed31c515de2c840dedaebb078ab455bf37ae8 (patch) | |
tree | 1d6cd4cb955dc89e313a6b3f894a10af4d833504 /recovery.cpp | |
parent | 900c9a61dee1511c9f4086ea5a3a3632b944cc0e (diff) | |
download | bootable_recovery-018ed31c515de2c840dedaebb078ab455bf37ae8.zip bootable_recovery-018ed31c515de2c840dedaebb078ab455bf37ae8.tar.gz bootable_recovery-018ed31c515de2c840dedaebb078ab455bf37ae8.tar.bz2 |
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 'recovery.cpp')
-rw-r--r-- | recovery.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recovery.cpp b/recovery.cpp index 2f8654a..1726a22 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; } |