summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-03-14 17:39:48 +0100
committerMark Salyzyn <salyzyn@google.com>2014-03-14 21:51:39 +0100
commitf3bb31c32fa879ccce358c15c93b7bd8582d1756 (patch)
tree0ce9c3520be76db70f29a63fca0b895a028934af /recovery.cpp
parentMerge "separate fbdev-specific code out from minui" (diff)
downloadandroid_bootable_recovery-f3bb31c32fa879ccce358c15c93b7bd8582d1756.tar
android_bootable_recovery-f3bb31c32fa879ccce358c15c93b7bd8582d1756.tar.gz
android_bootable_recovery-f3bb31c32fa879ccce358c15c93b7bd8582d1756.tar.bz2
android_bootable_recovery-f3bb31c32fa879ccce358c15c93b7bd8582d1756.tar.lz
android_bootable_recovery-f3bb31c32fa879ccce358c15c93b7bd8582d1756.tar.xz
android_bootable_recovery-f3bb31c32fa879ccce358c15c93b7bd8582d1756.tar.zst
android_bootable_recovery-f3bb31c32fa879ccce358c15c93b7bd8582d1756.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 d803cadf1..448f315b0 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -174,11 +174,11 @@ get_args(int *argc, char ***argv) {
get_bootloader_message(&boot); // this may fail, leaving a zeroed structure
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