Commit 97d06000 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

file: Fix build.

parent 75c919c0
...@@ -96,7 +96,7 @@ static bool IsRemote (int fd) ...@@ -96,7 +96,7 @@ static bool IsRemote (int fd)
if (fstatvfs (fd, &stf)) if (fstatvfs (fd, &stf))
return false; return false;
/* fstatvfs() is in POSIX, but MNT_LOCAL is not */ /* fstatvfs() is in POSIX, but MNT_LOCAL is not */
return !(s.f_flag & MNT_LOCAL); return !(stf.f_flag & MNT_LOCAL);
#elif defined (HAVE_LINUX_MAGIC_H) #elif defined (HAVE_LINUX_MAGIC_H)
struct statfs stf; struct statfs stf;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment