svn commit: r351100 - head/sys/dev/iicbus/twsi

Emmanuel Vadot manu at FreeBSD.org
Thu Aug 15 18:59:53 UTC 2019


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++) {


More information about the svn-src-all mailing list