diff --git a/fs/mount/fs_procfs_mount.c b/fs/mount/fs_procfs_mount.c index 6107fb7291a..4308fd77b6b 100644 --- a/fs/mount/fs_procfs_mount.c +++ b/fs/mount/fs_procfs_mount.c @@ -25,6 +25,7 @@ #include #include +#include #include #include #include @@ -255,7 +256,8 @@ static int blocks_entry(FAR const char *mountpoint, /* Generate blocks list one line at a time */ - mount_sprintf(info, "%6lu %10lu %10lu %10lu %s\n", + mount_sprintf(info, "%6lu %10" PRIuOFF " %10" PRIuOFF + " %10" PRIuOFF " %s\n", statbuf->f_bsize, statbuf->f_blocks, statbuf->f_blocks - statbuf->f_bavail, statbuf->f_bavail, mountpoint);