summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2007-04-25 09:52:46 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2007-04-25 09:52:46 +0000
commit4fe6d44d93197d3c35391da5b3558b35831df1a3 (patch)
treee4df45465651ad7e60c17cb28c8b40a574ae6206
parent0d341d2c10b799b1f0ff93797c58f9adc449c87d (diff)
fix a dprintf in the debug path
-rw-r--r--sys/dev/pci/if_tht.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_tht.c b/sys/dev/pci/if_tht.c
index 6b1d1ef1eb7..baf9f385fa5 100644
--- a/sys/dev/pci/if_tht.c
+++ b/sys/dev/pci/if_tht.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_tht.c,v 1.70 2007/04/25 09:33:25 dlg Exp $ */
+/* $OpenBSD: if_tht.c,v 1.71 2007/04/25 09:52:45 dlg Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
@@ -1049,7 +1049,7 @@ tht_start(struct ifnet *ifp)
txt.uid = pkt->tp_id;
DPRINTF(THT_D_TX, "%s: txt uid 0x%llx flags 0x%08x len %d\n",
- DEVNAME(sc), flags, pkt->tp_m->m_pkthdr.len, pkt->tp_id);
+ DEVNAME(sc), pkt->tp_id, flags, pkt->tp_m->m_pkthdr.len);
tht_fifo_write(sc, &sc->sc_txt, &txt, sizeof(txt));
tht_fifo_write_dmap(sc, &sc->sc_txt, pkt->tp_dmap);