aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/csource
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-09-05 10:38:22 +0200
committerDmitry Vyukov <dvyukov@google.com>2017-09-05 10:38:22 +0200
commit5db39ab95395b60c5629a84812086f720adc9ccf (patch)
tree75fac9b668196f734366d219ca35613576596bd6 /pkg/csource
parentc34180fca06cc29d2a29f3c1eec3131c6a0caf16 (diff)
sys: rename Call to Syscall
In preparation for moving sys types to prog to avoid confusion between sys.Call and prog.Call.
Diffstat (limited to 'pkg/csource')
-rw-r--r--pkg/csource/csource.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/csource/csource.go b/pkg/csource/csource.go
index 5c4b2f848..b46fda351 100644
--- a/pkg/csource/csource.go
+++ b/pkg/csource/csource.go
@@ -367,7 +367,7 @@ loop:
fmt.Fprintf(w, "\twrite_file(\"/sys/kernel/debug/fail_futex/ignore-private\", \"N\");\n")
fmt.Fprintf(w, "\tinject_fault(%v);\n", opts.FaultNth)
}
- meta := sys.Calls[instr]
+ meta := sys.Syscalls[instr]
emitCall := true
if meta.CallName == "syz_test" {
emitCall = false