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++) {
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to