[vlc-commits] commit: file: Fix build. (Pierre d'Herbemont )

git at videolan.org git at videolan.org
Mon Jun 21 21:38:27 CEST 2010


vlc/vlc-1.1 | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Mon Jun 21 21:19:39 2010 +0200| [97d06000df17fff58f86434a3f718a612b2590ec] | committer: Pierre d'Herbemont 

file: Fix build.

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=97d06000df17fff58f86434a3f718a612b2590ec
---

 modules/access/file.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/file.c b/modules/access/file.c
index cf3deb2..7df8304 100644
--- a/modules/access/file.c
+++ b/modules/access/file.c
@@ -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;



More information about the vlc-commits mailing list