From 640fd2e860ca2f106bbc0070f48307f0de4cc2fc Mon Sep 17 00:00:00 2001 From: "Alan C. Assis" Date: Wed, 24 Mar 2021 15:31:07 -0300 Subject: [PATCH] fstest: Fix printf format error --- testing/fstest/fstest_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/fstest/fstest_main.c b/testing/fstest/fstest_main.c index 488b4e128..b171936e9 100644 --- a/testing/fstest/fstest_main.c +++ b/testing/fstest/fstest_main.c @@ -1,5 +1,5 @@ /**************************************************************************** - * testing/fstest/fstest_main.c + * apps/testing/fstest/fstest_main.c * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with @@ -620,7 +620,7 @@ static inline int fstest_rdfile(FAR struct fstest_filedesc_s *file) crc = crc32(g_fileimage, file->len); if (crc != file->crc) { - printf("ERROR: Bad CRC: %d vs %d\n", crc, file->crc); + printf("ERROR: Bad CRC: %" PRId32 " vs %" PRId32 "\n", crc, file->crc); printf(" File name: %s\n", file->name); printf(" File size: %zd\n", file->len); close(fd);