Explorar el Código

bug: incorrect variable passed to linux stat function

Douglas A hace 1 año
padre
commit
5fac8ef34f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/platform.h

+ 1 - 1
src/platform.h

@@ -20,7 +20,7 @@ static int platform_stat(const char *path, void *buf)
     return _stat(path, bufstat);
   #else 
     struct stat *bufstat = (struct stat*) buf;
-    return stat(path, buf);
+    return stat(path, bufstat);
   #endif
 }