diff options
-rwxr-xr-x | bin/unmount | 2 | ||||
-rw-r--r-- | src/cmd/9pfuse/fuse.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/bin/unmount b/bin/unmount index 6323e843..46976f16 100755 --- a/bin/unmount +++ b/bin/unmount @@ -1,4 +1,4 @@ -l#!/usr/local/plan9/bin/rc +#!/usr/local/plan9/bin/rc if(! ~ $#* 1){ echo 'usage: unmount mtpt' >[1=2] diff --git a/src/cmd/9pfuse/fuse.c b/src/cmd/9pfuse/fuse.c index b2ccd7fc..6422c28c 100644 --- a/src/cmd/9pfuse/fuse.c +++ b/src/cmd/9pfuse/fuse.c @@ -831,7 +831,8 @@ mountfuse(char *mtpt) if(pid == 0){ snprint(buf, sizeof buf, "%d", fd); putenv("MOUNT_FUSEFS_CALL_BY_LIB", ""); - execl("mount_fusefs", "mount_fusefs", buf, mtpt, nil); + execl("/System/Library/Filesystems/fusefs.fs/mount_fusefs", + "mount_fusefs", buf, mtpt, nil); fprint(2, "exec mount_fusefs: %r\n"); _exit(1); } |