summaryrefslogtreecommitdiffstats
path: root/healthd
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2015-02-24 10:50:41 -0800
committerChih-Hung Hsieh <chh@google.com>2015-02-24 10:50:41 -0800
commitc49ceca278af08224a33f6ff74a0f3c4656c9b5d (patch)
tree85c44a5c3a56eb01ff519e38b02159935a61a6c7 /healthd
parent2c9f5411a937b78d130de0c8bcdafb7df2937230 (diff)
downloadsystem_core-c49ceca278af08224a33f6ff74a0f3c4656c9b5d.zip
system_core-c49ceca278af08224a33f6ff74a0f3c4656c9b5d.tar.gz
system_core-c49ceca278af08224a33f6ff74a0f3c4656c9b5d.tar.bz2
Fix print format mismatch in 64-bit mode.
Change-Id: I7f0b0ed87e4e544517be66418ff76596a084976f
Diffstat (limited to 'healthd')
-rw-r--r--healthd/healthd_mode_charger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/healthd/healthd_mode_charger.cpp b/healthd/healthd_mode_charger.cpp
index 8931983..352510b 100644
--- a/healthd/healthd_mode_charger.cpp
+++ b/healthd/healthd_mode_charger.cpp
@@ -525,7 +525,7 @@ static void process_key(struct charger *charger, int code, int64_t now)
LOGW("[%" PRId64 "] rebooting\n", now);
android_reboot(ANDROID_RB_RESTART, 0, 0);
} else {
- LOGV("[%lld] ignore power-button press, battery level "
+ LOGV("[%" PRId64 "] ignore power-button press, battery level "
"less than minimum\n", now);
}
}