summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {