diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2008-06-09 10:21:28 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2008-06-09 10:21:28 +0000 |
commit | 6134eff5f1833430f08376ee4d81b77345d6a1ae (patch) | |
tree | 2968bc1eaa221d27cf4384863bf15d98489557aa /lib/mount.c | |
parent | bd9bf9c8cee576c4b93702c788b34b1fe0372580 (diff) |
Fix mounting over symlink
Diffstat (limited to 'lib/mount.c')
-rw-r--r-- | lib/mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |