From 82f3c50dce5a26d828b9e9fd71bdf3c05adae968 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 9 Oct 2025 10:44:27 +0300 Subject: fix unit tests, initial hard exclude of not working yet syscalls --- internal/file/file.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/file') diff --git a/internal/file/file.go b/internal/file/file.go index d46e6db..85894c9 100644 --- a/internal/file/file.go +++ b/internal/file/file.go @@ -23,10 +23,10 @@ type FdFile struct { flagsFromProcFS bool } -func NewFd(fd int32, name []byte, flags int32) FdFile { +func NewFd(fd int32, name string, flags int32) FdFile { f := FdFile{ fd: fd, - name: types.StringValue(name), + name: name, flags: Flags(flags), } if f.flags == -1 { -- cgit v1.2.3