summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2002-11-12 00:01:32 +0000
committeroster <oster@NetBSD.org>2002-11-12 00:01:32 +0000
commitbd2dd01d295103c8b25f4956c11681510202bb8b (patch)
treeec5eb4ba2e24cbd02d1fe19d98114b0c7925e7f4 /sys/dev/raidframe
parentf53bc0b607e3e172044674def11e092530b64df1 (diff)
xorBufCount needs to be initialized too!
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_psstatus.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_psstatus.c b/sys/dev/raidframe/rf_psstatus.c
index bb2a5514d14..a32132e7fa8 100644
--- a/sys/dev/raidframe/rf_psstatus.c
+++ b/sys/dev/raidframe/rf_psstatus.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_psstatus.c,v 1.11 2002/10/11 02:10:09 oster Exp $ */
+/* $NetBSD: rf_psstatus.c,v 1.12 2002/11/12 00:01:32 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -37,7 +37,7 @@
*****************************************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_psstatus.c,v 1.11 2002/10/11 02:10:09 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_psstatus.c,v 1.12 2002/11/12 00:01:32 oster Exp $");
#include <dev/raidframe/raidframevar.h>
@@ -188,6 +188,7 @@ rf_LookupRUStatus(
p->flags = flags;
p->rbuf = NULL;
p->writeRbuf = NULL;
+ p->xorBufCount = 0;
p->blockCount = 0;
p->procWaitList = NULL;
p->blockWaitList = NULL;