summaryrefslogtreecommitdiff
path: root/internal/file
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-10-09 10:44:27 +0300
committerPaul Buetow <paul@buetow.org>2025-10-09 10:44:27 +0300
commit82f3c50dce5a26d828b9e9fd71bdf3c05adae968 (patch)
treed75439d32485c6586e0631d49d3e3d3b36a577e0 /internal/file
parent91632ae9e2f49cb046b5899f190890b9d139ed89 (diff)
fix unit tests, initial hard exclude of not working yet syscalls
Diffstat (limited to 'internal/file')
-rw-r--r--internal/file/file.go4
1 files changed, 2 insertions, 2 deletions
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 {