Skip to content

Commit

Permalink
fix(topo): use correct size_t format specifier
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-nslick committed Mar 21, 2024
1 parent b113aff commit bd25ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nccl_ofi_topo.c
Original file line number Diff line number Diff line change
Expand Up @@ -1300,7 +1300,7 @@ static int write_pci_tag(FILE *file, int indent,
"<pci "
"busid=\"%04x:%02x:%02x.%01x\" "
"link_speed=\"%s GT/s PCIe/s\" "
"link_width=\"%ld\"/>\n",
"link_width=\"%zu\"/>\n",
indent, "",
pcidev->domain, pcidev->bus, pcidev->dev, pcidev->func,
pcie_gen[speed_idx],
Expand Down

0 comments on commit bd25ee9

Please sign in to comment.