diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-08-28 12:32:08 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-08-28 12:32:08 +0000 |
commit | 8e90ec03111e878eeaab356841bf5a2eba1f90a5 (patch) | |
tree | c3c2d51089279f87ec94f555d6cd39cf5bcd128b /sys | |
parent | 0799724db06c2898eceaa4366d4e3a04fde59d36 (diff) |
fix bzero size; from pechkin
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/dc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/dc.c b/sys/dev/ic/dc.c index afc38116793..8a700877d34 100644 --- a/sys/dev/ic/dc.c +++ b/sys/dev/ic/dc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dc.c,v 1.61 2003/06/16 03:26:00 mickey Exp $ */ +/* $OpenBSD: dc.c,v 1.62 2003/08/28 12:32:07 mickey Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -2030,7 +2030,7 @@ dc_pnic_rx_bug_war(sc, 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) { |