]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix a loop condition
authormhorne <mhorne@FreeBSD.org>
Thu, 8 Oct 2020 18:29:17 +0000 (18:29 +0000)
committermhorne <mhorne@FreeBSD.org>
Thu, 8 Oct 2020 18:29:17 +0000 (18:29 +0000)
commit7bf26936ce72707d829ddc21012a9a0bd898ae57
tree332b52b14ebbba6e866fb3c1c37a5abd6a9adbd6
parentecb56912df2b529f1cc38d58eae0b9b1139395b2
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