diff options
Diffstat (limited to 'uisimulator/common/io.c')
-rw-r--r-- | uisimulator/common/io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/common/io.c b/uisimulator/common/io.c index f7a61c037d..79bc59806d 100644 --- a/uisimulator/common/io.c +++ b/uisimulator/common/io.c | |||
@@ -563,9 +563,9 @@ void fat_size(IF_MV2(int volume,) unsigned long* size, unsigned long* free) | |||
563 | *size = vfs.f_blocks / 2 * (vfs.f_frsize / 512); | 563 | *size = vfs.f_blocks / 2 * (vfs.f_frsize / 512); |
564 | if (free) | 564 | if (free) |
565 | *free = vfs.f_bfree / 2 * (vfs.f_frsize / 512); | 565 | *free = vfs.f_bfree / 2 * (vfs.f_frsize / 512); |
566 | } else | 566 | } |
567 | #endif | 567 | #endif |
568 | { | 568 | else { |
569 | if (size) | 569 | if (size) |
570 | *size = 0; | 570 | *size = 0; |
571 | if (free) | 571 | if (free) |