diff options
Diffstat (limited to 'src/vlib/linux/pci.c')
-rw-r--r-- | src/vlib/linux/pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vlib/linux/pci.c b/src/vlib/linux/pci.c index 19c0c5499fc..d8cbf7a4163 100644 --- a/src/vlib/linux/pci.c +++ b/src/vlib/linux/pci.c @@ -738,8 +738,8 @@ add_device_uio (vlib_main_t * vm, linux_pci_device_t * p, goto error; } - s = format (0, "%s/%U/uio", sysfs_pci_dev_path, - format_vlib_pci_addr, &di->addr); + s = format (0, "%s/%U/uio%c", sysfs_pci_dev_path, + format_vlib_pci_addr, &di->addr, 0); foreach_directory_file ((char *) s, scan_uio_dir, p, /* scan_dirs */ 1); vec_reset_length (s); |