summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/syscall_wrappers.awk1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/syscall_wrappers.awk b/tools/syscall_wrappers.awk
index 12cc233..4a295f2 100644
--- a/tools/syscall_wrappers.awk
+++ b/tools/syscall_wrappers.awk
@@ -19,6 +19,7 @@ BEGIN {
sub(/ *$/, "", rets)
params = substr($0, match($0, /\(.+\)/) + 1, RLENGTH - 2);
+ gsub(/\[[^\]]\]/, "", params);
if (params == "void") params = ""
split(params, p, /,/);