Author: kevans
Date: Tue Jun 19 15:05:31 2018
New Revision: 335371
URL: https://svnweb.freebsd.org/changeset/base/335371

Log:
  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.

Modified:
  head/stand/lua/config.lua

Modified: head/stand/lua/config.lua
==============================================================================
--- head/stand/lua/config.lua   Tue Jun 19 14:46:59 2018        (r335370)
+++ head/stand/lua/config.lua   Tue Jun 19 15:05:31 2018        (r335371)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to