summaryrefslogtreecommitdiff
path: root/common/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/timer.c')
-rw-r--r--common/timer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/common/timer.c b/common/timer.c
index ef960b0627..843588f980 100644
--- a/common/timer.c
+++ b/common/timer.c
@@ -236,15 +236,15 @@ void timer_print_info(void)
__hw_clock_event_get();
int tskid;
- ccprintf("Time: 0x%016lx us, %11.6ld s\n"
- "Deadline: 0x%016lx -> %11.6ld s from now\n"
+ ccprintf("Time: 0x%016llx us, %11.6lld s\n"
+ "Deadline: 0x%016llx -> %11.6lld s from now\n"
"Active timers:\n",
t.val, t.val, deadline, deadline - t.val);
cflush();
for (tskid = 0; tskid < TASK_ID_COUNT; tskid++) {
if (timer_running & BIT(tskid)) {
- ccprintf(" Tsk %2d 0x%016lx -> %11.6ld\n", tskid,
+ ccprintf(" Tsk %2d 0x%016llx -> %11.6lld\n", tskid,
timer_deadline[tskid].val,
timer_deadline[tskid].val - t.val);
cflush();
@@ -342,7 +342,7 @@ static int command_force_time(int argc, char **argv)
if (*e)
return EC_ERROR_PARAM2;
- ccprintf("Time: 0x%016lx = %.6ld s\n", new.val, new.val);
+ ccprintf("Time: 0x%016llx = %.6lld s\n", new.val, new.val);
force_time(new);
return EC_SUCCESS;
@@ -356,7 +356,7 @@ DECLARE_CONSOLE_COMMAND(forcetime, command_force_time,
static int command_get_time(int argc, char **argv)
{
timestamp_t ts = get_time();
- ccprintf("Time: 0x%016lx = %.6ld s\n", ts.val, ts.val);
+ ccprintf("Time: 0x%016llx = %.6lld s\n", ts.val, ts.val);
return EC_SUCCESS;
}