summaryrefslogtreecommitdiff
path: root/firmware/target/hosted/filesystem-unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/hosted/filesystem-unix.c')
-rw-r--r--firmware/target/hosted/filesystem-unix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/hosted/filesystem-unix.c b/firmware/target/hosted/filesystem-unix.c
index 7f49a5f91a..45b9e0fca1 100644
--- a/firmware/target/hosted/filesystem-unix.c
+++ b/firmware/target/hosted/filesystem-unix.c
@@ -43,8 +43,9 @@ long filesize(int fd)
43} 43}
44 44
45/* do we really need this in the app? */ 45/* do we really need this in the app? */
46void fat_size(unsigned long* size, unsigned long* free) 46void fat_size(IF_MV(int volume,) unsigned long* size, unsigned long* free)
47{ 47{
48 IF_MV((void) volume);
48 *size = *free = 0; 49 *size = *free = 0;
49} 50}
50 51