Skip to content

Commit f5b637a

Browse files
committed
apply format specifier fix (pr #1321 by @StanFromIreland)
1 parent 84243a7 commit f5b637a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/prim/unix/prim.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ int _mi_prim_alloc_huge_os_pages(void* hint_addr, size_t size, int numa_node, bo
566566
long err = mi_prim_mbind(*addr, size, MPOL_PREFERRED, &numa_mask, 8*MI_INTPTR_SIZE, 0);
567567
if (err != 0) {
568568
err = errno;
569-
_mi_warning_message("failed to bind huge (1GiB) pages to numa node %d (error: %d (0x%x))\n", numa_node, err, err);
569+
_mi_warning_message("failed to bind huge (1GiB) pages to numa node %d (error: %ld (0x%lx))\n", numa_node, err, err);
570570
}
571571
}
572572
return (*addr != NULL ? 0 : errno);

0 commit comments

Comments
 (0)