From dea0b23fa73fe3d53b8f3b004f7b8a2a8456d7f7 Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Fri, 6 Dec 2019 16:49:36 +0100 Subject: 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 --- src/vlib/pci/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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* */ -- cgit 1.2.3-korg