aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/9pfuse
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2007-08-22 09:00:26 -0400
committerRuss Cox <rsc@swtch.com>2007-08-22 09:00:26 -0400
commitebda53e16b473c6ad8df070edd6f58e2e1e10994 (patch)
tree97b3ef1ba2cd5bb632487a3f42322da11d3a13f9 /src/cmd/9pfuse
parent841d71b5c6be4851572a60c5a9f9dd239ea69e56 (diff)
parent841d71b5c6be4851572a60c5a9f9dd239ea69e56 (diff)
downloadplan9port-ebda53e16b473c6ad8df070edd6f58e2e1e10994.tar.gz
plan9port-ebda53e16b473c6ad8df070edd6f58e2e1e10994.tar.bz2
plan9port-ebda53e16b473c6ad8df070edd6f58e2e1e10994.zip
merge
Diffstat (limited to 'src/cmd/9pfuse')
-rw-r--r--src/cmd/9pfuse/fuse.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmd/9pfuse/fuse.c b/src/cmd/9pfuse/fuse.c
index 59424707..b1210b7b 100644
--- a/src/cmd/9pfuse/fuse.c
+++ b/src/cmd/9pfuse/fuse.c
@@ -803,7 +803,9 @@ mountfuse(char *mtpt)
if(access(f="/System/Library/Extensions/fusefs.kext"
"/Contents/Resources/load_fusefs", 0) < 0 &&
access(f="/Library/Extensions/fusefs.kext"
- "/Contents/Resources/load_fusefs", 0) < 0){
+ "/Contents/Resources/load_fusefs", 0) < 0 &&
+ access(f="/System/Library/Filesystems"
+ "/fusefs.fs/Support/load_fusefs", 0) < 0){
werrstr("cannot find load_fusefs");
return -1;
}