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)
if (fstatvfs (fd, &stf))
return false;
/* 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)
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