From f4eeeff825a60ecd2bcc0373d3d2b7a2b577078a Mon Sep 17 00:00:00 2001 From: Axel Heider Date: Thu, 29 Feb 2024 00:22:56 +0100 Subject: [PATCH] libplatsupport: use proper format specifier Signed-off-by: Axel Heider --- libplatsupport/src/plat/hifive/ltimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libplatsupport/src/plat/hifive/ltimer.c b/libplatsupport/src/plat/hifive/ltimer.c index ba145d65e..c0e30d65e 100644 --- a/libplatsupport/src/plat/hifive/ltimer.c +++ b/libplatsupport/src/plat/hifive/ltimer.c @@ -101,7 +101,7 @@ static int ltimer_handle_irq(void *data, ps_irq_t *irq) pwm_handle_irq(&timers->pwm_ltimers[TIMEOUT_TIMER].pwm, irq->irq.number); event = LTIMER_TIMEOUT_EVENT; } else { - ZF_LOGE("Invalid IRQ number: %d received.\n", irq_number); + ZF_LOGE("Invalid IRQ number: %ld received.\n", irq_number); } if (timers->user_callback) {