diff --git a/libretro-common/vfs/vfs_implementation.c b/libretro-common/vfs/vfs_implementation.c index da47481728..dc9f67dd86 100644 --- a/libretro-common/vfs/vfs_implementation.c +++ b/libretro-common/vfs/vfs_implementation.c @@ -868,7 +868,7 @@ int retro_vfs_stat_impl(const char *path, int32_t *size) /* Lowlevel Lv2 */ sysFSStat stat_buf; - if (sysFsStat(path, &buf) < 0) + if (sysFsStat(path, &stat_buf) < 0) return 0; if (size)