Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: uisimulator/common/io.c
- ===================================================================
- --- uisimulator/common/io.c (revision 30706)
- +++ uisimulator/common/io.c (working copy)
- @@ -552,7 +552,7 @@
- *size = num_clusters * secperclus / 2 * (bytespersec / 512);
- if (free)
- *free = free_clusters * secperclus / 2 * (bytespersec / 512);
- - }
- + } else
- #elif HAVE_STATVFS
- struct statvfs vfs;
- @@ -563,9 +563,9 @@
- *size = vfs.f_blocks / 2 * (vfs.f_frsize / 512);
- if (free)
- *free = vfs.f_bfree / 2 * (vfs.f_frsize / 512);
- - }
- + } else
- #endif
- - else {
- + {
- if (size)
- *size = 0;
- if (free)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement