diff options
| author | Maxime Henrion <mux@FreeBSD.org> | 2003-06-01 22:09:12 +0000 |
|---|---|---|
| committer | Maxime Henrion <mux@FreeBSD.org> | 2003-06-01 22:09:12 +0000 |
| commit | 1edc4c46b896ac39289ed85566c32f4535d2f757 (patch) | |
| tree | e9801c9b3e09a6bd0a12f42c128dbf4bfa715237 /sys | |
| parent | 3cc3bf528231cd53cd0ffbb44b0e90f74d8ca82c (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/dc/if_dc.c | 2 | ||||
| -rw-r--r-- | sys/pci/if_dc.c | 2 |
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) { |
