diff --git a/fs/mount/fs_procfs_mount.c b/fs/mount/fs_procfs_mount.c index 3a02cb2d3af..cb01a7203fd 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 @@ -253,7 +254,7 @@ static int blocks_entry(FAR const char *mountpoint, /* Generate blocks list one line at a time */ - mount_sprintf(info, "%6ld %8ld %8ld %8ld %s\n", + mount_sprintf(info, "%6ld %8" PRIdOFF " %8" PRIdOFF " %8" PRIdOFF " %s\n", statbuf->f_bsize, statbuf->f_blocks, statbuf->f_blocks - statbuf->f_bavail, statbuf->f_bavail, mountpoint);