svn commit: r190879 - head/sys/dev/e1000

Jack F Vogel jfv at FreeBSD.org
Fri Apr 10 05:26:15 UTC 2009


Author: jfv
Date: Fri Apr 10 05:26:14 2009
New Revision: 190879
URL: http://svn.freebsd.org/changeset/base/190879

Log:
  Fix build problem with data format.

Modified:
  head/sys/dev/e1000/if_igb.c

Modified: head/sys/dev/e1000/if_igb.c
==============================================================================
--- head/sys/dev/e1000/if_igb.c	Fri Apr 10 04:08:34 2009	(r190878)
+++ head/sys/dev/e1000/if_igb.c	Fri Apr 10 05:26:14 2009	(r190879)
@@ -4605,8 +4605,8 @@ igb_print_debug_info(struct adapter *ada
 		device_printf(dev, "Queue(%d) tdh = %d, tdt = %d\n", i,
 		    E1000_READ_REG(&adapter->hw, E1000_TDH(i)),
 		    E1000_READ_REG(&adapter->hw, E1000_TDT(i)));
-		device_printf(dev, "no descriptors avail event = %lu\n",
-		    txr->no_desc_avail);
+		device_printf(dev, "no descriptors avail event = %lld\n",
+		    (long long)txr->no_desc_avail);
 		device_printf(dev, "TX(%d) MSIX IRQ Handled = %lld\n", txr->me,
 		    (long long)txr->tx_irq);
 		device_printf(dev, "TX(%d) Packets sent = %lld\n", txr->me,


More information about the svn-src-head mailing list