Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2019 18:59:52 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r351100 - head/sys/dev/iicbus/twsi
Message-ID:  <201908151859.x7FIxqNs098579@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: manu
Date: Thu Aug 15 18:59:52 2019
New Revision: 351100
URL: https://svnweb.freebsd.org/changeset/base/351100

Log:
  twsi: Fix build when DEBUG is used on 32bits arch.
  
  MFC after:	3 days

Modified:
  head/sys/dev/iicbus/twsi/twsi.c

Modified: head/sys/dev/iicbus/twsi/twsi.c
==============================================================================
--- head/sys/dev/iicbus/twsi/twsi.c	Thu Aug 15 18:57:48 2019	(r351099)
+++ head/sys/dev/iicbus/twsi/twsi.c	Thu Aug 15 18:59:52 2019	(r351100)
@@ -261,7 +261,7 @@ twsi_calc_baud_rate(struct twsi_softc *sc, const u_int
 	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++) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908151859.x7FIxqNs098579>