aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--lib/mount.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7a2344e..411df3c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-05-23 Miklos Szeredi <miklos@szeredi.hu>
+
+ * Fix mounting over symlink. Reported by Szabolcs Szakacsits
+
2008-04-09 Miklos Szeredi <miklos@szeredi.hu>
* Update warning message for missing newline at end of fuse.conf
diff --git a/lib/mount.c b/lib/mount.c
index a882d3e..941644f 100644
--- a/lib/mount.c
+++ b/lib/mount.c
@@ -401,7 +401,7 @@ static int fuse_mount_sys(const char *mnt, struct mount_opts *mo,
return -1;
}
- res = lstat(mnt, &stbuf);
+ res = stat(mnt, &stbuf);
if (res == -1) {
fprintf(stderr ,"fuse: failed to access mountpoint %s: %s\n",
mnt, strerror(errno));