[rtems commit] psxmmap01/test_helper.c: Use correct printf format for size_t

Joel Sherrill joel at rtems.org
Thu Jul 27 20:37:46 UTC 2017


Module:    rtems
Branch:    master
Commit:    3fd019739fb026e2af338d964a34fe92a91a21cf
Changeset: http://git.rtems.org/rtems/commit/?id=3fd019739fb026e2af338d964a34fe92a91a21cf

Author:    Joel Sherrill <joel at rtems.org>
Date:      Thu Jul 27 17:29:24 2017 -0500

psxmmap01/test_helper.c: Use correct printf format for size_t

---

 testsuites/psxtests/psxmmap01/test_helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuites/psxtests/psxmmap01/test_helper.c b/testsuites/psxtests/psxmmap01/test_helper.c
index cab8e91..cf68e8f 100644
--- a/testsuites/psxtests/psxmmap01/test_helper.c
+++ b/testsuites/psxtests/psxmmap01/test_helper.c
@@ -24,7 +24,7 @@ void fail_check(
 {
     va_list ap;
 
-    printf( "%s: %d: ", file, line );
+    printf( "%s: %zd: ", file, line );
 
     va_start(ap, fmt);
     vprintf(fmt, ap);



More information about the vc mailing list