From e5374be47100f34c7623d876e4d18adefa32cecf Mon Sep 17 00:00:00 2001 From: AmirHossein Sojoodi Date: Thu, 5 Dec 2024 11:56:27 -0500 Subject: [PATCH] Fix: print device pci id correctly --- src/components/tl/cuda/tl_cuda_team_topo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/tl/cuda/tl_cuda_team_topo.c b/src/components/tl/cuda/tl_cuda_team_topo.c index b1161ede6a..649b6d4afa 100644 --- a/src/components/tl/cuda/tl_cuda_team_topo.c +++ b/src/components/tl/cuda/tl_cuda_team_topo.c @@ -312,7 +312,7 @@ ucc_tl_cuda_team_topo_init_proxies(const ucc_tl_cuda_team_t *team, tl_debug(UCC_TL_TEAM_LIB(team), "no proxy found between " "dev %s (%d) and dev %s (%d), " "cuda topology is not supported", - pci_str[0], i, pci_str[j], j); + pci_str[0], i, pci_str[1], j); status = UCC_ERR_NOT_SUPPORTED; goto free_data; }