net/szedata2: fix format string for PCI address
authorMatej Vido <vido@cesnet.cz>
Wed, 4 Apr 2018 13:42:21 +0000 (15:42 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Apr 2018 22:40:21 +0000 (00:40 +0200)
commitddbbe324db8fa340e01a389844dc703e8cb30072
treec4ba7437b074e2a2c941dd4fb2b93973fb40da04
parent99ad0f1bb063039681d2f1fde72fe1927d06eda3
net/szedata2: fix format string for PCI address

For fscanf() function SCN macros should be used but PRI macros were
wrongly used.
Also use correct sizes of variables for read values.

Fixes: 83556fd2c0fc ("szedata2: change to physical device type")
Cc: stable@dpdk.org
Signed-off-by: Matej Vido <vido@cesnet.cz>
drivers/net/szedata2/rte_eth_szedata2.c