summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-03-14 22:35:41 +0100
committerAndroid Git Automerger <android-git-automerger@android.com>2014-03-14 22:35:41 +0100
commit679baa06b79e0c9100ce05fa0191928fc2a691fb (patch)
treed09a8d683cf713935e395168e403d1fbd61ea971 /recovery.cpp
parentam 239fb930: am a7266ef0: Merge "separate fbdev-specific code out from minui" (diff)
parentam 026ebe02: Merge "Recovery 64-bit compile issues" (diff)
downloadandroid_bootable_recovery-679baa06b79e0c9100ce05fa0191928fc2a691fb.tar
android_bootable_recovery-679baa06b79e0c9100ce05fa0191928fc2a691fb.tar.gz
android_bootable_recovery-679baa06b79e0c9100ce05fa0191928fc2a691fb.tar.bz2
android_bootable_recovery-679baa06b79e0c9100ce05fa0191928fc2a691fb.tar.lz
android_bootable_recovery-679baa06b79e0c9100ce05fa0191928fc2a691fb.tar.xz
android_bootable_recovery-679baa06b79e0c9100ce05fa0191928fc2a691fb.tar.zst
android_bootable_recovery-679baa06b79e0c9100ce05fa0191928fc2a691fb.zip
Diffstat (limited to 'recovery.cpp')
-rw-r--r--recovery.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/recovery.cpp b/recovery.cpp
index db35f1e97..c28e328a2 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -177,11 +177,11 @@ get_args(int *argc, char ***argv) {
stage = strndup(boot.stage, sizeof(boot.stage));
if (boot.command[0] != 0 && boot.command[0] != 255) {
- LOGI("Boot command: %.*s\n", sizeof(boot.command), boot.command);
+ LOGI("Boot command: %.*s\n", (int)sizeof(boot.command), boot.command);
}
if (boot.status[0] != 0 && boot.status[0] != 255) {
- LOGI("Boot status: %.*s\n", sizeof(boot.status), boot.status);
+ LOGI("Boot status: %.*s\n", (int)sizeof(boot.status), boot.status);
}
// --- if arguments weren't supplied, look in the bootloader control block