summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-08-28 12:32:08 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-08-28 12:32:08 +0000
commit8e90ec03111e878eeaab356841bf5a2eba1f90a5 (patch)
treec3c2d51089279f87ec94f555d6cd39cf5bcd128b /sys
parent0799724db06c2898eceaa4366d4e3a04fde59d36 (diff)
fix bzero size; from pechkin
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/dc.c4
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) {