diff options
Diffstat (limited to 'lib/mount_bsd.c')
-rw-r--r-- | lib/mount_bsd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mount_bsd.c b/lib/mount_bsd.c index b0f2e35..cb1b2b9 100644 --- a/lib/mount_bsd.c +++ b/lib/mount_bsd.c @@ -161,6 +161,7 @@ void fuse_unmount(const char *mountpoint) FILE *sf; int rv; char *seekscript = + "exec 2>/dev/null; " /* error message is annoying in help output */ "/usr/bin/fstat " FUSE_DEV_TRUNK "* | " "/usr/bin/awk 'BEGIN{ getline; if (! ($3 == \"PID\" && $10 == \"NAME\")) exit 1; }; " " { if ($3 == %d) print $10; }' | " @@ -186,7 +187,7 @@ void fuse_unmount(const char *mountpoint) system(umount_cmd); } -int fuse_mount_core(const char *mountpoint, const char *opts) +static int fuse_mount_core(const char *mountpoint, const char *opts) { const char *mountprog = FUSERMOUNT_PROG; int fd; |