aboutsummaryrefslogtreecommitdiffstats
path: root/util/fusermount.c
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2005-01-21 16:09:08 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2005-01-21 16:09:08 +0000
commit773d4aea20b13a0355db6dce9c04a8388ff2258c (patch)
treee1c390d99e74c1b5af1248171cbfbc6b12f92af4 /util/fusermount.c
parent01fd89c7448863ea3564b98bd84455ebc3ba159a (diff)
downloadlibfuse-773d4aea20b13a0355db6dce9c04a8388ff2258c.tar.gz
fix
Diffstat (limited to 'util/fusermount.c')
-rw-r--r--util/fusermount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/fusermount.c b/util/fusermount.c
index 73893a1..b826b83 100644
--- a/util/fusermount.c
+++ b/util/fusermount.c
@@ -809,7 +809,7 @@ static int mount_fuse(const char *mnt, const char *opts)
read_conf();
- if (getuid != 0 && mount_max != -1) {
+ if (getuid() != 0 && mount_max != -1) {
int mount_count = count_fuse_fs();
if (mount_count >= mount_max) {
fprintf(stderr, "%s: too many FUSE filesystems mounted; mount_max=N can be set in /etc/fuse.conf\n", progname);