summaryrefslogtreecommitdiffstats
path: root/src/vlib/pci
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2019-12-06 16:49:36 +0100
committerDamjan Marion <dmarion@me.com>2019-12-17 18:06:29 +0000
commitdea0b23fa73fe3d53b8f3b004f7b8a2a8456d7f7 (patch)
treec69c43d8c7520a9828c54d0f19fd80ea2cbce72d /src/vlib/pci
parentdc20371f83ed81462c0b24eb750b76f7819df64a (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>
Diffstat (limited to 'src/vlib/pci')
-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* */