diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-09-05 10:38:22 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-09-05 10:38:22 +0200 |
| commit | 5db39ab95395b60c5629a84812086f720adc9ccf (patch) | |
| tree | 75fac9b668196f734366d219ca35613576596bd6 /prog/encoding.go | |
| parent | c34180fca06cc29d2a29f3c1eec3131c6a0caf16 (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 'prog/encoding.go')
| -rw-r--r-- | prog/encoding.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/encoding.go b/prog/encoding.go index d31d0bb62..c7eb8b239 100644 --- a/prog/encoding.go +++ b/prog/encoding.go @@ -140,7 +140,7 @@ func Deserialize(data []byte) (prog *Prog, err error) { name = p.Ident() } - meta := sys.CallMap[name] + meta := sys.SyscallMap[name] if meta == nil { return nil, fmt.Errorf("unknown syscall %v", name) } |
