Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2023 22:19:26 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 8341a74afea5 - main - makesyscalls.lua: Use "sysxxx" consistently
Message-ID:  <202304202219.33KMJQM8042245@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=8341a74afea598092947eea66172313f37e0be0b

commit 8341a74afea598092947eea66172313f37e0be0b
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-04-20 22:16:06 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-04-20 22:17:25 +0000

    makesyscalls.lua: Use "sysxxx" consistently
    
    Find the few places where we use 'sysxxx' and use "sysxxx" instead to be
    more consistent.
    
    Sponsored by:           Netflix
---
 sys/tools/makesyscalls.lua | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/sys/tools/makesyscalls.lua b/sys/tools/makesyscalls.lua
index 564551a47ed3..00e5e74512e0 100644
--- a/sys/tools/makesyscalls.lua
+++ b/sys/tools/makesyscalls.lua
@@ -496,7 +496,7 @@ local pattern_table = {
 		pattern = "^#%s*include",
 		process = function(line)
 			line = line .. "\n"
-			write_line('sysinc', line)
+			write_line("sysinc", line)
 		end,
 	},
 	{
@@ -509,12 +509,12 @@ local pattern_table = {
 				maxsyscall = savesyscall
 			end
 			line = line .. "\n"
-			write_line('sysent', line)
-			write_line('sysdcl', line)
-			write_line('sysarg', line)
-			write_line_pfile('syscompat[0-9]*$', line)
-			write_line('sysnames', line)
-			write_line_pfile('systrace.*', line)
+			write_line("sysent", line)
+			write_line("sysdcl", line)
+			write_line("sysarg", line)
+			write_line_pfile("syscompat[0-9]*$", line)
+			write_line("sysnames", line)
+			write_line_pfile("systrace.*", line)
 		end,
 	},
 	{
@@ -523,7 +523,7 @@ local pattern_table = {
 		process = function()
 			if config.abi_headers ~= "" then
 				line = config.abi_headers .. "\n"
-				write_line('sysinc', line)
+				write_line("sysinc", line)
 			end
 		end,
 	},



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