summaryrefslogtreecommitdiff
path: root/internal/fusefrontend
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-07-03 20:21:29 +0200
committerJakob Unterwurzacher2016-07-03 20:22:22 +0200
commit741bf0726e71c931af1dc1278571c280fc27970f (patch)
tree37b500e022c4f1ce90fa1fef486a3b8640d0c6b4 /internal/fusefrontend
parentd8524c73696392c7e895e6b3fe4c7e120d7296f7 (diff)
syscallcompat: OSX: add Mknodat wrapper
Protip: find naked *at syscalls using: git grep "syscall." | grep "at(" | grep -v syscallcompat
Diffstat (limited to 'internal/fusefrontend')
-rw-r--r--internal/fusefrontend/fs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/fusefrontend/fs.go b/internal/fusefrontend/fs.go
index 279c755..de168dc 100644
--- a/internal/fusefrontend/fs.go
+++ b/internal/fusefrontend/fs.go
@@ -205,7 +205,7 @@ func (fs *FS) Mknod(path string, mode uint32, dev uint32, context *fuse.Context)
}
// Create device node
- err = syscall.Mknodat(int(dirfd.Fd()), cName, uint32(mode), int(dev))
+ err = syscallcompat.Mknodat(int(dirfd.Fd()), cName, uint32(mode), int(dev))
if err != nil {
nametransform.DeleteLongName(dirfd, cName)
}