diff options
Diffstat (limited to 'lib/mount_bsd.c')
-rw-r--r-- | lib/mount_bsd.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/mount_bsd.c b/lib/mount_bsd.c index cbd3ced..35f3634 100644 --- a/lib/mount_bsd.c +++ b/lib/mount_bsd.c @@ -86,6 +86,9 @@ static const struct fuse_opt fuse_mount_opts[] = { FUSE_DUAL_OPT_KEY("neglect_shares", KEY_KERN), FUSE_DUAL_OPT_KEY("push_symlinks_in", KEY_KERN), FUSE_OPT_KEY("nosync_unmount", KEY_KERN), +#if __FreeBSD_version >= 1200519 + FUSE_DUAL_OPT_KEY("intr", KEY_KERN), +#endif /* stock FBSD mountopt parsing routine lets anything be negated... */ /* * Linux specific mount options, but let just the mount util @@ -161,7 +164,7 @@ static int fuse_mount_core(const char *mountpoint, const char *opts) fd = strtol(fdnam, &ep, 10); if (*ep != '\0') { - fprintf(stderr, "invalid value given in FUSE_DEV_FD\n"); + fuse_log(FUSE_LOG_ERR, "invalid value given in FUSE_DEV_FD\n"); return -1; } |