From f0de762d612e5502c96c5be7d85a24610246b017 Mon Sep 17 00:00:00 2001 From: "S.J.R. van Schaik" Date: Wed, 14 Jun 2017 14:14:32 +0200 Subject: [PATCH] shell: mufs: use PRIu32 to print the size for proper portability --- source/shell/mufs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/shell/mufs.c b/source/shell/mufs.c index 7871a13..a0b85fb 100644 --- a/source/shell/mufs.c +++ b/source/shell/mufs.c @@ -126,7 +126,7 @@ static void do_mufs_stat(const char *s) default: return; } - printf(" file size: %u bytes\n", stat.file_size); + printf(" file size: %" PRIu32 " bytes\n", stat.file_size); } static void do_mufs_cat(const char *s)