diff options
author | 2011-06-21 16:46:00 +0000 | |
---|---|---|
committer | 2011-06-21 16:46:00 +0000 | |
commit | 66c5eef8e44fa6a0062a8b01b563d978e5bea571 (patch) | |
tree | 8b62093b76544372a53b62275b14e7fe0c206027 /sys/dev/raidframe/rf_reconstruct.c | |
parent | report the controllers part number. eg, i now know i have a (diff) | |
download | wireguard-openbsd-66c5eef8e44fa6a0062a8b01b563d978e5bea571.tar.xz wireguard-openbsd-66c5eef8e44fa6a0062a8b01b563d978e5bea571.zip |
remove stupid casts, ok deraadt
Diffstat (limited to 'sys/dev/raidframe/rf_reconstruct.c')
-rw-r--r-- | sys/dev/raidframe/rf_reconstruct.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_reconstruct.c b/sys/dev/raidframe/rf_reconstruct.c index c8089abb61c..4ce37b12ced 100644 --- a/sys/dev/raidframe/rf_reconstruct.c +++ b/sys/dev/raidframe/rf_reconstruct.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rf_reconstruct.c,v 1.17 2010/05/23 13:49:35 naddy Exp $ */ +/* $OpenBSD: rf_reconstruct.c,v 1.18 2011/06/21 16:46:00 tedu Exp $ */ /* $NetBSD: rf_reconstruct.c,v 1.26 2000/06/04 02:05:13 oster Exp $ */ /* @@ -1165,7 +1165,7 @@ rf_IssueNextReadRequest(RF_Raid_t *raidPtr, RF_RowCol_t row, RF_RowCol_t col) */ rbuf->parityStripeID = ctrl->curPSID; rbuf->which_ru = ctrl->ru_count; - bzero((char *) &raidPtr->recon_tracerecs[col], + bzero(&raidPtr->recon_tracerecs[col], sizeof(raidPtr->recon_tracerecs[col])); raidPtr->recon_tracerecs[col].reconacc = 1; RF_ETIMER_START(raidPtr->recon_tracerecs[col].recon_timer); |