aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2019-12-06 16:49:36 +0100
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-08-12 07:43:14 +0000
commita750b7f71f0521bb474183058de3e8b0d7efb344 (patch)
tree46baba4806e9617eb316a70a2d01f389948da27e /src
parent55ae848ce4158ee2d49bcd83d65e9194621f931f (diff)
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 <vrpolak@cisco.com> (cherry picked from commit dea0b23fa73fe3d53b8f3b004f7b8a2a8456d7f7)
Diffstat (limited to 'src')
-rw-r--r--src/vlib/pci/pci.c2
1 files changed, 1 insertions, 1 deletions
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* */