diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-09-05 10:46:34 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-09-05 10:46:34 +0200 |
| commit | 4fc47026945ebec3fc81d0c897547670034cfb58 (patch) | |
| tree | 11dcd72219d389aebffaaa593b13d4f2caeadf27 /prog/encodingexec_test.go | |
| parent | 5db39ab95395b60c5629a84812086f720adc9ccf (diff) | |
prog: dot-import sys
In preparation for moving sys types to prog to reduce later diffs.
Diffstat (limited to 'prog/encodingexec_test.go')
| -rw-r--r-- | prog/encodingexec_test.go | 4 |
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) } |
