svn commit: r335371 - head/stand/lua

Kyle Evans kevans at FreeBSD.org
Tue Jun 19 15:05:32 UTC 2018


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


More information about the svn-src-all mailing list