Skip to content

Commit 511d9e8

Browse files
committed
Fix typos
1 parent 53a98e1 commit 511d9e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/_TestingInternals/Stubs.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ int swt_dl_iterate_phdr(void *context, int (*callback)(const void *dlpi_addr, co
5959
// some platforms. If it's nil, try to recover it with dladdr().
6060
auto dlpi_addr = reinterpret_cast<const void *>(info->dlpi_addr);
6161
if (!dlpi_addr) {
62-
Dl_info info;
63-
if (dladdr(info->dlpi_phdr, &info)) {
64-
dlpi_addr = info.dli_fbase;
62+
Dl_info dlinfo;
63+
if (dladdr(info->dlpi_phdr, &dlinfo)) {
64+
dlpi_addr = dlinfo.dli_fbase;
6565
}
6666
}
6767

0 commit comments

Comments
 (0)