app/testpmd: fix printf format in event callback
authorHerakliusz Lipiec <herakliusz.lipiec@intel.com>
Tue, 25 Sep 2018 11:23:00 +0000 (12:23 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 11 Oct 2018 16:53:49 +0000 (18:53 +0200)
commitf431e0104df89aa9f53b20448530baec18f3d39a
tree442e11f8292421ada09e7d5bfce2f6bda0434697
parentcf72ed09181bade3ce3286d7d7f1ee79d39a9b09
app/testpmd: fix printf format in event callback

change PRIu8 -> PRIu16 for port_id in eth_event_callback
(portid_t is uint16_t)

Fixes: 76ad4a2d82d4 ("app/testpmd: add generic event handler")
Cc: stable@dpdk.org
Signed-off-by: Herakliusz Lipiec <herakliusz.lipiec@intel.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
app/test-pmd/testpmd.c