svn commit: r329496 - head/stand/lua

Kyle Evans kevans at FreeBSD.org
Sun Feb 18 00:44:10 UTC 2018


Author: kevans
Date: Sun Feb 18 00:44:09 2018
New Revision: 329496
URL: https://svnweb.freebsd.org/changeset/base/329496

Log:
  stand/lua: Fix verbiage and some typos
  
  "other_kernel" is decidedly not spelled "other_kern"

Modified:
  head/stand/lua/config.lua

Modified: head/stand/lua/config.lua
==============================================================================
--- head/stand/lua/config.lua	Sun Feb 18 00:27:35 2018	(r329495)
+++ head/stand/lua/config.lua	Sun Feb 18 00:44:09 2018	(r329496)
@@ -38,11 +38,11 @@ function config.setKey(k, n, v)
 end
 
 function config.lsModules()
-	print("== Dumping modules");
+	print("== Listing modules");
 	for k, v in pairs(modules) do
 		print(k, v.load);
 	end
-	print("== Dump ended");
+	print("== List of modules ended");
 end
 
 local pattern_table = {
@@ -296,8 +296,8 @@ function config.loadkernel(other_kernel)
 		local module_path = loader.getenv("module_path");
 		local res = nil;
 
-		if other_kern ~= nil then
-			kernel = other_kern;
+		if other_kernel ~= nil then
+			kernel = other_kernel;
 		end
 		-- first try load kernel with module_path = /boot/${kernel}
 		-- then try load with module_path=${kernel}


More information about the svn-src-head mailing list