Skip to content

Commit

Permalink
Fix linux PCIe Bus-Dev-Func display issue
Browse files Browse the repository at this point in the history
  • Loading branch information
xyan264 committed Oct 30, 2020
1 parent 0bd450c commit 44f11d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/platform/linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ static int linux_get_devices(struct switchtec_dev *dev,
continue;

if (status[i].port.upstream) {
status->pci_bdf = strdup(basename(searchpath));
status[i].pci_bdf = strdup(basename(searchpath));
get_port_bdf_path(&status[i]);
continue;
}
Expand Down

0 comments on commit 44f11d6

Please sign in to comment.