diff options
author | 2006-03-05 21:48:54 +0000 | |
---|---|---|
committer | 2006-03-05 21:48:54 +0000 | |
commit | 1573508e4a2b79545b4e249a73d6b17aac49719c (patch) | |
tree | 71ace380f161b052a5a1ed8e427236a217c5ad15 /sys/dev/raidframe/rf_openbsdkintf.c | |
parent | Sprinkle some tabs and a little cleaning. (diff) | |
download | wireguard-openbsd-1573508e4a2b79545b4e249a73d6b17aac49719c.tar.xz wireguard-openbsd-1573508e4a2b79545b4e249a73d6b17aac49719c.zip |
Use more queue macros rather than doing it by hand; ok otto@ krw@
Diffstat (limited to 'sys/dev/raidframe/rf_openbsdkintf.c')
-rw-r--r-- | sys/dev/raidframe/rf_openbsdkintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_openbsdkintf.c b/sys/dev/raidframe/rf_openbsdkintf.c index b0393ca867a..30301ffc157 100644 --- a/sys/dev/raidframe/rf_openbsdkintf.c +++ b/sys/dev/raidframe/rf_openbsdkintf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rf_openbsdkintf.c,v 1.32 2006/01/21 12:20:51 miod Exp $ */ +/* $OpenBSD: rf_openbsdkintf.c,v 1.33 2006/03/05 21:48:56 miod Exp $ */ /* $NetBSD: rf_netbsdkintf.c,v 1.109 2001/07/27 03:30:07 oster Exp $ */ /*- @@ -2753,7 +2753,7 @@ rf_find_raid_components(void) #ifdef RAID_AUTOCONFIG /* We begin by trolling through *all* the devices on the system. */ - for (dv = alldevs.tqh_first; dv != NULL; dv = dv->dv_list.tqe_next) { + TAILQ_FOREACH(dv, &alldevs, dv_list) { /* We are only interested in disks... */ if (dv->dv_class != DV_DISK) |