summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe/rf_reconstruct.c
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2001-07-18 06:45:33 +0000
committerthorpej <thorpej@NetBSD.org>2001-07-18 06:45:33 +0000
commitcf56c44a86ea6c9a5a196dd9d0e2270d0da52e69 (patch)
tree68007cd4fd7fc3a3b75ff45d59efd1de489c2816 /sys/dev/raidframe/rf_reconstruct.c
parent0a9ceae7505d0f818fe46fc77f15a837bd8d8229 (diff)
bzero -> memset
Diffstat (limited to 'sys/dev/raidframe/rf_reconstruct.c')
-rw-r--r--sys/dev/raidframe/rf_reconstruct.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_reconstruct.c b/sys/dev/raidframe/rf_reconstruct.c
index 40e07a30317..566cdfc188f 100644
--- a/sys/dev/raidframe/rf_reconstruct.c
+++ b/sys/dev/raidframe/rf_reconstruct.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_reconstruct.c,v 1.28 2001/06/14 02:35:56 oster Exp $ */
+/* $NetBSD: rf_reconstruct.c,v 1.29 2001/07/18 06:45:34 thorpej Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -1014,7 +1014,8 @@ IssueNextReadRequest(raidPtr, row, col)
* only to see if we can actually do it now */
rbuf->parityStripeID = ctrl->curPSID;
rbuf->which_ru = ctrl->ru_count;
- bzero((char *) &raidPtr->recon_tracerecs[col], sizeof(raidPtr->recon_tracerecs[col]));
+ memset((char *) &raidPtr->recon_tracerecs[col], 0,
+ sizeof(raidPtr->recon_tracerecs[col]));
raidPtr->recon_tracerecs[col].reconacc = 1;
RF_ETIMER_START(raidPtr->recon_tracerecs[col].recon_timer);
retcode = TryToRead(raidPtr, row, col);