examples/vm_power_manager: fix format specifier for port ID
PATCH 1/1 examples/vm_power_manager: fix format specifier for port ID
Caught by code review, port_id is a uint16_t.
Fixes 20c78ac9ee23 ("examples/vm_power_mgr: add port initialisation")
Signed-off-by David Marchand <[email protected]>
--- examples/vm_power_manager/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
examples/vm_power_manager/main.c +1 -1
@@ -382,7 +382,7 @@ main(int argc, char **argv)if (port_init (portid, mbuf_pool) !=0 )rte_exit (EXIT_FAILURE , -"Cannot init port %" PRIu8"\n" , +"Cannot init port %" PRIu16"\n" , portid);for (w =0 ; w <RTE_POWER_MAX_VFS ; w++) {
Signature · 1 line
2.53.0
David Marchand
AppliedQuoted 7 lines · David Marchand
Caught by code review,
port_idis auint16_t.Fixes 20c78ac9ee23 ("examples/vm_power_mgr: add port initialisation")Signed-off-by David Marchand <[email protected]>
Applied.
Signature · 1 line
David Marchand