From 5db39ab95395b60c5629a84812086f720adc9ccf Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 5 Sep 2017 10:38:22 +0200 Subject: sys: rename Call to Syscall In preparation for moving sys types to prog to avoid confusion between sys.Call and prog.Call. --- prog/encoding.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prog/encoding.go') 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) } -- cgit mrf-deployment