summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2012-10-08 13:01:23 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2012-10-08 13:01:23 +0000
commit3e58b9f467bdc571a2a9517662fa9711f6bf7e65 (patch)
tree6e9ca5ee4668ce1a4a15c1f672b9d7487ae01971 /sys
parentc80420c025506ab24825769ca28a545e89f52f74 (diff)
bzero the right variable.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/softraid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c
index 23cfad272b1..e54dcc02c85 100644
--- a/sys/dev/softraid.c
+++ b/sys/dev/softraid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid.c,v 1.274 2012/01/30 13:13:03 jsing Exp $ */
+/* $OpenBSD: softraid.c,v 1.275 2012/10/08 13:01:22 jsing Exp $ */
/*
* Copyright (c) 2007, 2008, 2009 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org>
@@ -1362,7 +1362,7 @@ sr_boot_assembly(struct sr_softc *sc)
*/
SLIST_FOREACH(bv, &bvh, sbv_link) {
- bzero(&bc, sizeof(bc));
+ bzero(&bcr, sizeof(bcr));
/* Check if this is a hotspare "volume". */
if (bv->sbv_level == SR_HOTSPARE_LEVEL &&