]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix a loop condition
authorMitchell Horne <mhorne@FreeBSD.org>
Thu, 8 Oct 2020 18:29:17 +0000 (18:29 +0000)
committerMitchell Horne <mhorne@FreeBSD.org>
Thu, 8 Oct 2020 18:29:17 +0000 (18:29 +0000)
commit841dad02e9077fe0d0f8a68b35fbc3812fd2c681
tree332b52b14ebbba6e866fb3c1c37a5abd6a9adbd6
parent22e6a670868487bc17e36270eb34f34074693b6a
Fix a loop condition

The correct way to identify the end of the metadata is two adjacent
entries set to zero/MODINFO_END. I made a typo and this was checking the
first entry twice.

Reported by: rpokala
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
sys/kern/subr_module.c