[rtems commit] libtests/block08: Fix format warning

Sebastian Huber sebh at rtems.org
Fri Jul 28 10:19:32 UTC 2017


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Jul 28 12:19:05 2017 +0200

libtests/block08: Fix format warning

---

 testsuites/libtests/block08/bdbuf_tests.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuites/libtests/block08/bdbuf_tests.h b/testsuites/libtests/block08/bdbuf_tests.h
index b5d5967..72502b3 100644
--- a/testsuites/libtests/block08/bdbuf_tests.h
+++ b/testsuites/libtests/block08/bdbuf_tests.h
@@ -266,7 +266,7 @@ extern bool       good_test_result;
                  RTEMS_BLKDEV_REQ_WRITE)                                   \
         {                                                                  \
             printk("Unexpected message received by disk driver: "          \
-                   "req - 0x%" PRIx32 " (0x%" PRIx32 "), dev - %p (%p)\n", \
+                   "req - 0x%" PRIx32 " (0x%lx), dev - %p (%p)\n", \
                    (msg_)->val.driver_req.req, RTEMS_BLKIO_REQUEST,        \
                    (msg_)->val.driver_req.dd, test_dd);                    \
             return;                                                        \




More information about the vc mailing list