diff --git a/ports/src/noux/vfs_io_channel.h b/ports/src/noux/vfs_io_channel.h index 10bfd32b25..d4f91cf5a7 100644 --- a/ports/src/noux/vfs_io_channel.h +++ b/ports/src/noux/vfs_io_channel.h @@ -148,7 +148,7 @@ namespace Noux { size_t size(Sysio *sysio) { if (fstat(sysio)) - return sysio->stat_out.st.size; + return sysio->fstat_out.st.size; return 0; }