]> git.sesse.net Git - vlc/blobdiff - modules/access/file.c
file.c: Typo fix
[vlc] / modules / access / file.c
index 245fb9fe20c5d21146f4433ab309068ef155e274..9d3de77498297f693d078b00e793adbb3f5ceab2 100644 (file)
@@ -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;