kmodloader: fix insmod path logic master
authorTony Ambardar <itugrok@yahoo.com>
Fri, 26 Apr 2024 23:21:25 +0000 (16:21 -0700)
committerTony Ambardar <itugrok@yahoo.com>
Fri, 26 Apr 2024 23:26:15 +0000 (16:26 -0700)
commit85f1053019caf4cd333795760950235ee4529ba7
treeee303638afc0b3a3c83b2887bf873a1e0860f8aa
parentd413903016c4dc9190926e38ff72fbf7d3d69115
kmodloader: fix insmod path logic

Correct a small typo that breaks logic for insmod path selection.

Fixes: 4c5c45c6beac ("kmodloader: fix invalid write during insmod, CodeQL warnings")
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
kmodloader.c