[rtems commit] libchip: Fix format warning

Sebastian Huber sebh at rtems.org
Wed Jul 19 12:38:42 UTC 2017


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Jul 19 14:29:41 2017 +0200

libchip: Fix format warning

---

 c/src/libchip/network/smc91111.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/c/src/libchip/network/smc91111.c b/c/src/libchip/network/smc91111.c
index c01ab18..8c37481 100644
--- a/c/src/libchip/network/smc91111.c
+++ b/c/src/libchip/network/smc91111.c
@@ -1055,7 +1055,7 @@ int lan91cxx_hardware_init(struct lan91cxx_priv_data *cpd)
 	{
 		int rc;
 
-		db_printf("Install lan91cxx isr at vec/irq %d\n", cpd->config.vector);
+		db_printf("Install lan91cxx isr at vec/irq %" PRIu32 "\n", cpd->config.vector);
 		rc = rtems_interrupt_handler_install(cpd->config.vector, "smc91cxx",
 			RTEMS_INTERRUPT_SHARED, lan91cxx_interrupt_handler, cpd);
 		if (rc != RTEMS_SUCCESSFUL)




More information about the vc mailing list