From: Vratko Polak Date: Fri, 6 Dec 2019 15:49:36 +0000 (+0100) Subject: vlib: fix an issue with show pci X-Git-Tag: v20.05-rc0~159 X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=commitdiff_plain;h=dea0b23fa73fe3d53b8f3b004f7b8a2a8456d7f7 vlib: fix an issue with show pci The fix has been received over e-mail from Lijian Zhang. https://lists.fd.io/g/vpp-dev/message/14808 Type: fix Ticket: VPP-1805 Change-Id: I73e5fe7dcbe2b0b1c639d844f29183eab3b6dd66 Signed-off-by: Vratko Polak --- diff --git a/src/vlib/pci/pci.c b/src/vlib/pci/pci.c index 4cd31004586..2b80533f250 100644 --- a/src/vlib/pci/pci.c +++ b/src/vlib/pci/pci.c @@ -110,7 +110,7 @@ show_pci_fn (vlib_main_t * vm, format_vlib_pci_link_speed, d, d->driver_name ? (char *) d->driver_name : "", d->product_name, - format_vlib_pci_vpd, d->vpd_r, 0); + format_vlib_pci_vpd, d->vpd_r, (u8 *) 0); vlib_pci_free_device_info (d); } /* *INDENT-ON* */