lualoader: Correct kernel_options handling

`kernel_options` were being passed as flags to load, rather than to the
kernel being loaded. This is the kernel_options counterpart to r335009.
This commit is contained in:
Kyle Evans 2018-06-19 15:05:31 +00:00
parent 4fe3053183
commit 80eb81f6f0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335371

View File

@ -425,8 +425,8 @@ function config.loadKernel(other_kernel)
local function tryLoad(names)
for name in names:gmatch("([^;]+)%s*;?") do
local r = loader.perform("load " .. flags ..
" " .. name)
local r = loader.perform("load " .. name ..
" " .. flags)
if r == 0 then
return name
end