[dpdk-dev] [PATCH v1 2/6] app/procinfo: fix printf format specifier for uint

Ivan Dyukov i.dyukov at samsung.com
Mon Apr 27 11:57:24 CEST 2020


Signed-off-by: Ivan Dyukov <i.dyukov at samsung.com>
---
 app/proc-info/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/proc-info/main.c b/app/proc-info/main.c
index abeca4aab..b1a025a36 100644
--- a/app/proc-info/main.c
+++ b/app/proc-info/main.c
@@ -685,7 +685,7 @@ show_port(void)
 			printf("Link get failed (port %u): %s\n",
 			       i, rte_strerror(-ret));
 		} else {
-			printf("\t  -- link speed %d duplex %d,"
+			printf("\t  -- link speed %u duplex %d,"
 					" auto neg %d status %d\n",
 					link.link_speed,
 					link.link_duplex,
-- 
2.17.1



More information about the dev mailing list