Use TAILQ_FOREACH to traverse the disk list in sysctl_diskinit().
authorbluhm <bluhm@openbsd.org>
Thu, 23 Dec 2021 10:17:01 +0000 (10:17 +0000)
committerbluhm <bluhm@openbsd.org>
Thu, 23 Dec 2021 10:17:01 +0000 (10:17 +0000)
commit3b2c6ff499be4bc3fc4b82c70edef2ea57e739cb
tree2384d80864b3834bc789aaa9a725b987f0bb3122
parent41a45098bac2247db629acb1612a87f4586172eb
Use TAILQ_FOREACH to traverse the disk list in sysctl_diskinit().
OK anton@
sys/kern/kern_sysctl.c