vlib: fix coverity warning 44/34544/2
authorKlement Sekera <ksekera@cisco.com>
Thu, 18 Nov 2021 11:32:05 +0000 (12:32 +0100)
committerDamjan Marion <dmarion@me.com>
Mon, 22 Nov 2021 10:21:23 +0000 (10:21 +0000)
commitbd46907b3f27b480e5f8b0be9cb4c5b5f1fa08ab
treea09308f98ee1969c20bbced68f0bb552dd3ea2d7
parentd824aac1077cc744f66fba62879e4b668f60ed6a
vlib: fix coverity warning

Use correct signed type to allow testing for a failure (-1) from
readlinkat().

Type: fix
Fixes: 5714a49f14
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Change-Id: I06f1c8d91e907c151012ff9758c6b52caca4d625
src/vlib/linux/pci.c