summaryrefslogtreecommitdiff
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/softraid.c')
-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 d7bdbf2c650..eb4b42c3a20 100644
--- a/sys/dev/softraid.c
+++ b/sys/dev/softraid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid.c,v 1.119 2008/07/21 14:49:40 marco Exp $ */
+/* $OpenBSD: softraid.c,v 1.120 2008/09/22 19:44:00 miod Exp $ */
/*
* Copyright (c) 2007 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org>
@@ -923,13 +923,13 @@ sr_boot_assembly(struct sr_softc *sc)
continue;
no_dev = 0;
+ m1 = (struct sr_metadata *)&mle->sml_metadata;
bzero(dt, BIOC_CRMAXLEN);
SLIST_FOREACH(mle2, &mlh, sml_link) {
/* chunk used already? */
if (mle2->sml_used)
continue;
- m1 = (struct sr_metadata *)&mle->sml_metadata;
m2 = (struct sr_metadata *)&mle2->sml_metadata;
/* are we the same volume? */