From: Franck Bui Date: Thu, 27 Jan 2022 18:13:24 +0000 (+0100) Subject: udev/net_id: show the correct identifier in the debug output of dev_pci_onboard() X-Git-Tag: v251-rc1~347^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e36b00e938ef577ecff7ed4d24363f755be0ea76;p=thirdparty%2Fsystemd.git udev/net_id: show the correct identifier in the debug output of dev_pci_onboard() --- diff --git a/src/udev/udev-builtin-net_id.c b/src/udev/udev-builtin-net_id.c index 65e003eb15e..9e4297adaf6 100644 --- a/src/udev/udev-builtin-net_id.c +++ b/src/udev/udev-builtin-net_id.c @@ -217,7 +217,7 @@ static int dev_pci_onboard(sd_device *dev, const LinkInfo *info, NetNames *names names->pci_onboard[0] = '\0'; log_device_debug(dev, "Onboard index identifier: index=%lu phys_port=%s dev_port=%lu → %s", idx, strempty(info->phys_port_name), dev_port, - empty_to_na(names->pci_slot)); + empty_to_na(names->pci_onboard)); if (sd_device_get_sysattr_value(names->pcidev, "label", &names->pci_onboard_label) >= 0) log_device_debug(dev, "Onboard label from PCI device: %s", names->pci_onboard_label);