summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMaxime Henrion <mux@FreeBSD.org>2003-06-01 22:09:12 +0000
committerMaxime Henrion <mux@FreeBSD.org>2003-06-01 22:09:12 +0000
commit1edc4c46b896ac39289ed85566c32f4535d2f757 (patch)
treee9801c9b3e09a6bd0a12f42c128dbf4bfa715237 /sys
parent3cc3bf528231cd53cd0ffbb44b0e90f74d8ca82c (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/dc/if_dc.c2
-rw-r--r--sys/pci/if_dc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c
index 874cac76d56e..21bead27c524 100644
--- a/sys/dev/dc/if_dc.c
+++ b/sys/dev/dc/if_dc.c
@@ -2431,7 +2431,7 @@ dc_pnic_rx_bug_war(struct dc_softc *sc, int idx)
i = sc->dc_pnic_rx_bug_save;
cur_rx = &sc->dc_ldata->dc_rx_list[idx];
ptr = sc->dc_pnic_rx_buf;
- bzero(ptr, sizeof(DC_RXLEN * 5));
+ bzero(ptr, DC_RXLEN * 5);
/* Copy all the bytes from the bogus buffers. */
while (1) {
diff --git a/sys/pci/if_dc.c b/sys/pci/if_dc.c
index 874cac76d56e..21bead27c524 100644
--- a/sys/pci/if_dc.c
+++ b/sys/pci/if_dc.c
@@ -2431,7 +2431,7 @@ dc_pnic_rx_bug_war(struct dc_softc *sc, int idx)
i = sc->dc_pnic_rx_bug_save;
cur_rx = &sc->dc_ldata->dc_rx_list[idx];
ptr = sc->dc_pnic_rx_buf;
- bzero(ptr, sizeof(DC_RXLEN * 5));
+ bzero(ptr, DC_RXLEN * 5);
/* Copy all the bytes from the bogus buffers. */
while (1) {