We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d827f8 commit 569742bCopy full SHA for 569742b
contrib/cmd/fs-idmap/fs-idmap.go
@@ -16,7 +16,7 @@ func main() {
16
}
17
18
src := os.Args[1]
19
- treeFD, err := unix.OpenTree(-1, src, uint(unix.OPEN_TREE_CLONE|unix.OPEN_TREE_CLOEXEC|unix.AT_EMPTY_PATH))
+ treeFD, err := unix.OpenTree(unix.AT_FDCWD, src, uint(unix.OPEN_TREE_CLONE|unix.OPEN_TREE_CLOEXEC|unix.AT_EMPTY_PATH))
20
if err != nil {
21
log.Fatalf("error calling open_tree %q: %v", src, err)
22
0 commit comments