[rtems commit] Use %zu instead of %lu to print size_t's.
Ralf Corsepius
ralf at rtems.org
Thu Oct 11 16:24:01 UTC 2012
Module: rtems
Branch: master
Commit: c1412db5c3106445ecf952db9ca7686b958cd803
Changeset: http://git.rtems.org/rtems/commit/?id=c1412db5c3106445ecf952db9ca7686b958cd803
Author: Ralf Corsépius <ralf.corsepius at rtems.org>
Date: Thu Oct 11 18:27:34 2012 +0200
Use %zu instead of %lu to print size_t's.
---
testsuites/fstests/fsrfsbitmap01/test.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/testsuites/fstests/fsrfsbitmap01/test.c b/testsuites/fstests/fsrfsbitmap01/test.c
index a0ad39c..bec40e9 100644
--- a/testsuites/fstests/fsrfsbitmap01/test.c
+++ b/testsuites/fstests/fsrfsbitmap01/test.c
@@ -391,7 +391,7 @@ rtems_rfs_bitmap_ut_test_bitmap (size_t size)
rtems_test_assert( rc == EINVAL );
/* Set all bits, clear one and then set this cleared bit once again */
- printf (" 32. Set all bits in the map, then clear bit (%lu) and set this bit once again:",control.size/2);
+ printf (" 32. Set all bits in the map, then clear bit (%zu) and set this bit once again:",control.size/2);
rc = rtems_rfs_bitmap_map_set_all(&control);
rtems_test_assert( rc == 0 );
rc = rtems_rfs_bitmap_map_clear(&control, control.size/2);
More information about the vc
mailing list