diff options
Diffstat (limited to 'internal/file')
| -rw-r--r-- | internal/file/file.go | 4 |
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 { |
