aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2019-12-11 19:32:52 +0000
committerKyle Evans <kevans@FreeBSD.org>2019-12-11 19:32:52 +0000
commit0d80770c71cd701171a88d8341ab97ecd6566a7f (patch)
treef8513683186185f30925a68488f1fad0ed372931 /sys
parent87d4212b1dc8232ba402fc8388b16fede2ef98ac (diff)
downloadsrc-0d80770c71cd701171a88d8341ab97ecd6566a7f.tar.gz
src-0d80770c71cd701171a88d8341ab97ecd6566a7f.zip
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/tools/makesyscalls.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/tools/makesyscalls.lua b/sys/tools/makesyscalls.lua
index 8bb763d65da9..566ce5bafc51 100644
--- a/sys/tools/makesyscalls.lua
+++ b/sys/tools/makesyscalls.lua
@@ -1010,6 +1010,7 @@ process_syscall_def = function(line)
abort(1, "Not a signature? " .. line)
end
args = line:match("^[^(]+%((.+)%)[^)]*$")
+ args = trim(args, '[,%s]')
end
::skipalt::