From 5de5fc1421049e9bd0f666ab87629a7ac6eadf22 Mon Sep 17 00:00:00 2001 From: szaka Date: Thu, 10 Apr 2008 23:48:22 +0000 Subject: [PATCH] mount_fuse(): don't refer to non-used /etc/fuse.conf; mount_max is enforced by kernels with unprivileged mount support --- libfuse-lite/fusermount.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libfuse-lite/fusermount.c b/libfuse-lite/fusermount.c index 7d3903aa..5fdcad9c 100644 --- a/libfuse-lite/fusermount.c +++ b/libfuse-lite/fusermount.c @@ -583,8 +583,8 @@ static int mount_fuse(const char *mnt, const char *opts) if (getuid() != 0 && mount_max != -1) { if (count_fuse_fs() >= mount_max) { - fprintf(stderr, "%s: too many FUSE filesystems mounted; " - "mount_max=N can be set in /etc/fuse.conf\n", progname); + fprintf(stderr, "%s: too many mounted FUSE filesystems (%d+)\n", + progname, mount_max); goto err; } }