aboutsummaryrefslogtreecommitdiffstats
path: root/prog/encodingexec_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'prog/encodingexec_test.go')
-rw-r--r--prog/encodingexec_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/prog/encodingexec_test.go b/prog/encodingexec_test.go
index 055d4e375..37bfe04c0 100644
--- a/prog/encodingexec_test.go
+++ b/prog/encodingexec_test.go
@@ -9,7 +9,7 @@ import (
"fmt"
"testing"
- "github.com/google/syzkaller/sys"
+ . "github.com/google/syzkaller/sys"
)
const ptrSize = 8
@@ -47,7 +47,7 @@ func TestSerializeForExec(t *testing.T) {
argData = uint64(ExecArgData)
)
callID := func(name string) uint64 {
- c := sys.SyscallMap[name]
+ c := SyscallMap[name]
if c == nil {
t.Fatalf("unknown syscall %v", name)
}