diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-08-30 19:05:09 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-08-30 19:05:09 +0000 |
commit | 1666f053551d1880fb077fa33820b96dfffbcc3e (patch) | |
tree | 508506945486faa96418770dbdb2b2379e43c5bb /sys | |
parent | 41c90d59e2dccceb5e3cdd2e5d240b7bc21ae31f (diff) |
fix tailq use; ok thib
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/softraid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c index d0bd0eaf507..2b0e275035c 100644 --- a/sys/dev/softraid.c +++ b/sys/dev/softraid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid.c,v 1.211 2010/08/30 17:32:40 jsing Exp $ */ +/* $OpenBSD: softraid.c,v 1.212 2010/08/30 19:05:08 deraadt Exp $ */ /* * Copyright (c) 2007, 2008, 2009 Marco Peereboom <marco@peereboom.us> * Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org> @@ -1041,7 +1041,7 @@ sr_boot_assembly(struct sr_softc *sc) SLIST_INIT(&mlh); dk = TAILQ_FIRST(&disklist); - while (dk != TAILQ_END()) { + while (dk != TAILQ_END(&disklist)) { /* See if this disk has been checked. */ SLIST_FOREACH(sdk, &sdklist, sdk_link) |