summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajesh Kumar <rajesh3.kumar@intel.com>2022-12-07 16:51:08 -0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-12-13 02:56:13 +0000
commitd0df4832fef81ce55b9df6e374520c05db76b78c (patch)
tree729bd818e8fe484eeb6319c97161ed0e0cd3859a
parente6445f8ed1dc585e99ba603081028a4e5e252184 (diff)
downloadchrome-ec-d0df4832fef81ce55b9df6e374520c05db76b78c.tar.gz
ec: use standard format specifier
As PRIu64 are not defined in legacy EC, use standard format specifers to avoid build failure if any platform wants to enable CONFIG_SYSTEM_BOOT_TIME_LOGGING conf. BUG=b:249163956 BRANCH=none TEST=make buildall Change-Id: I63bc934189cd3620c4b0132d92c7102f6667c764 Signed-off-by: Rajesh Kumar <rajesh3.kumar@intel.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4086980 Reviewed-by: Boris Mittelberg <bmbm@google.com> Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com> Commit-Queue: Boris Mittelberg <bmbm@google.com>
-rw-r--r--common/system_boot_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/system_boot_time.c b/common/system_boot_time.c
index 48ac815818..f807cf8047 100644
--- a/common/system_boot_time.c
+++ b/common/system_boot_time.c
@@ -24,7 +24,7 @@ void update_ap_boot_time(enum boot_time_param param)
}
if (param < RESET_CNT) {
ap_boot_time.timestamp[param] = get_time().val;
- ccprintf("Boot Time: %d, %" PRIu64 "\n", param,
+ ccprintf("Boot Time: %d, %llu\n", param,
ap_boot_time.timestamp[param]);
}