diff options
Diffstat (limited to 'pkg/procid/procid_test.go')
-rw-r--r-- | pkg/procid/procid_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/procid/procid_test.go b/pkg/procid/procid_test.go index 9ec08c3d6..a08110b35 100644 --- a/pkg/procid/procid_test.go +++ b/pkg/procid/procid_test.go @@ -17,9 +17,9 @@ package procid import ( "os" "runtime" - "syscall" "testing" + "golang.org/x/sys/unix" "gvisor.dev/gvisor/pkg/sync" ) @@ -36,7 +36,7 @@ func checkProcid(t *testing.T, start *sync.WaitGroup, done *sync.WaitGroup) { start.Wait() procID := Current() - tid := syscall.Gettid() + tid := unix.Gettid() if procID != uint64(tid) { t.Logf("Bad procid: expected %v, got %v", tid, procID) |