summaryrefslogtreecommitdiff
path: root/internal/file
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-03-26 21:11:46 +0200
committerPaul Buetow <paul@buetow.org>2025-03-26 21:11:46 +0200
commitc3fdb13c494cd6bfce5523394863dc76c1afc9d3 (patch)
tree98143c148c7e156d3d9bf7c617d9eade7f918f56 /internal/file
parent88c0f60d92df9c80247c0c714dcfbb53c02f382e (diff)
some tracepoints were not opening new fds
Diffstat (limited to 'internal/file')
-rw-r--r--internal/file/file.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/file/file.go b/internal/file/file.go
index dfff134..75fcbe1 100644
--- a/internal/file/file.go
+++ b/internal/file/file.go
@@ -30,7 +30,6 @@ func NewFd(fd int32, name []byte, flags int32) FdFile {
Flags: flags,
}
if f.Flags == -1 {
- // TODO: newfstatat is not an open syscall! change code generator!
panic(fmt.Sprintf("DEBUG with -1 flags: %v", f))
}
return f