summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-09-13 01:51:41 -0700
committerOri Bernstein <ori@eigenstate.org>2017-09-13 02:00:52 -0700
commit97df0d05c25daa84262b45385694eaebcf1eb59e (patch)
tree385ed6e3c4d69a096598f79f8ccbed5180c51f44 /support
parentb0ba815356f0c434568f9d799ea4c7d470be6173 (diff)
downloadmc-97df0d05c25daa84262b45385694eaebcf1eb59e.tar.gz
Fix off by one for FreeBSD/OpenBSD
Diffstat (limited to 'support')
-rw-r--r--support/syscall-gen/gencalls.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/syscall-gen/gencalls.awk b/support/syscall-gen/gencalls.awk
index c4b1fa3..d625550 100644
--- a/support/syscall-gen/gencalls.awk
+++ b/support/syscall-gen/gencalls.awk
@@ -79,7 +79,7 @@ $Typefield == "STD" || (!masterfmt && $1 == "asmlinkage") {
tabs="\t\t"
else
tabs = "\t"
- num = sprintf("%s%s: scno = %d", numcst, tabs, numbertab[name]);
+ num = sprintf("%s%s: scno = %d", numcst, tabs, $1);
scnums[nnums++] = num
if (nocode)