summaryrefslogtreecommitdiffstats
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authortdeval <tdeval@openbsd.org>2002-12-03 11:31:35 +0000
committertdeval <tdeval@openbsd.org>2002-12-03 11:31:35 +0000
commit9850f78dae4d110c00e3089a43b358ba754ec8ff (patch)
treeefd08b741a3370e8f7cbc43947a68b536685872e /sys/dev/raidframe
parentbe nice and shutdown the socket after beeing done; pointed out by kenjiro (diff)
downloadwireguard-openbsd-9850f78dae4d110c00e3089a43b358ba754ec8ff.tar.xz
wireguard-openbsd-9850f78dae4d110c00e3089a43b358ba754ec8ff.zip
Missing initialization.
thanks Greg Oster
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_psstatus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/raidframe/rf_psstatus.c b/sys/dev/raidframe/rf_psstatus.c
index c602e152fd8..6581f97d7c7 100644
--- a/sys/dev/raidframe/rf_psstatus.c
+++ b/sys/dev/raidframe/rf_psstatus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rf_psstatus.c,v 1.4 2000/01/11 18:02:22 peter Exp $ */
+/* $OpenBSD: rf_psstatus.c,v 1.5 2002/12/03 11:31:35 tdeval Exp $ */
/* $NetBSD: rf_psstatus.c,v 1.5 2000/01/08 22:57:31 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
@@ -197,6 +197,7 @@ rf_LookupRUStatus(
p->flags = flags;
p->rbuf = NULL;
p->writeRbuf = NULL;
+ p->xorBufCount = 0;
p->blockCount = 0;
p->procWaitList = NULL;
p->blockWaitList = NULL;