diff options
Diffstat (limited to 'firmware/target/hosted/filesystem-unix.c')
-rw-r--r-- | firmware/target/hosted/filesystem-unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/hosted/filesystem-unix.c b/firmware/target/hosted/filesystem-unix.c index 3a14480e11..4869d07263 100644 --- a/firmware/target/hosted/filesystem-unix.c +++ b/firmware/target/hosted/filesystem-unix.c | |||
@@ -209,9 +209,9 @@ int os_opendir_and_fd(const char *osdirname, DIR **osdirpp, int *osfdp) | |||
209 | } | 209 | } |
210 | 210 | ||
211 | /* do we really need this in the app? (in the sim, yes) */ | 211 | /* do we really need this in the app? (in the sim, yes) */ |
212 | void volume_size(IF_MV(int volume,) unsigned long *sizep, unsigned long *freep) | 212 | void volume_size(IF_MV(int volume,) sector_t *sizep, sector_t *freep) |
213 | { | 213 | { |
214 | unsigned long size = 0, free = 0; | 214 | sector_t size = 0, free = 0; |
215 | char volpath[MAX_PATH]; | 215 | char volpath[MAX_PATH]; |
216 | struct statfs fs; | 216 | struct statfs fs; |
217 | 217 | ||