Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Feb 2018 00:44:09 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r329496 - head/stand/lua
Message-ID:  <201802180044.w1I0i9KF071782@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802180044.w1I0i9KF071782>