From 017455f13c6eb761ee1285ac0c91ad074e7ccaae Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Thu, 15 Aug 2019 18:59:52 +0000 Subject: [PATCH] twsi: Fix build when DEBUG is used on 32bits arch. MFC after: 3 days --- sys/dev/iicbus/twsi/twsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/iicbus/twsi/twsi.c b/sys/dev/iicbus/twsi/twsi.c index 9cc26689c2e..a9daee270c1 100644 --- a/sys/dev/iicbus/twsi/twsi.c +++ b/sys/dev/iicbus/twsi/twsi.c @@ -261,7 +261,7 @@ twsi_calc_baud_rate(struct twsi_softc *sc, const u_int target, if (clk_get_freq(sc->clk_core, &clk) < 0) return (-1); - debugf(sc->dev, "Bus clock is at %lu\n", clk); + debugf(sc->dev, "Bus clock is at %ju\n", clk); for (n = 0; n < 8; n++) { for (m = 0; m < 16; m++) {