From 20b0ebfd08f75bb36c40e98927f2be43d38d2f19 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Wed, 11 Nov 2020 07:31:33 +0900 Subject: [PATCH] examples/mount/mount_main.c: Fix fprintf format warnings --- examples/mount/mount_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/mount/mount_main.c b/examples/mount/mount_main.c index 9df47eda0..28a228290 100644 --- a/examples/mount/mount_main.c +++ b/examples/mount/mount_main.c @@ -177,13 +177,13 @@ static void show_statfs(const char *path) { printf("show_statfs: statfs(%s) succeeded\n", path); printf("\tFS Type : %0x\n", buf.f_type); - printf("\tBlock size : %d\n", buf.f_bsize); + printf("\tBlock size : %zd\n", buf.f_bsize); printf("\tNumber of blocks : %d\n", buf.f_blocks); printf("\tFree blocks : %d\n", buf.f_bfree); printf("\tFree user blocks : %d\n", buf.f_bavail); printf("\tNumber file nodes : %d\n", buf.f_files); printf("\tFree file nodes : %d\n", buf.f_ffree); - printf("\tFile name length : %d\n", buf.f_namelen); + printf("\tFile name length : %zd\n", buf.f_namelen); } else {