From 4ab9782b8b0ad3860834b6f729bc6a86753ce0e9 Mon Sep 17 00:00:00 2001 From: Christian Prochaska Date: Mon, 10 Sep 2012 17:40:17 +0200 Subject: [PATCH] Noux: use correct member in Vfs_io_channel::size() Fixes #351. --- ports/src/noux/vfs_io_channel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }