commit 0d305ecf5a52e6ccdff1bc17fd3193de942ae38e
parent 5021eeb597f785fbdb71e2c8584b93784f150d2b
Author: Joris Vink <joris@coders.se>
Date: Tue, 15 Mar 2022 13:47:35 +0100
fix format specifier, previous commit touched a bit too much.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mem.c b/src/mem.c
@@ -319,7 +319,7 @@ meminfo(void *ptr)
info = (struct meminfo *)((u_int8_t *)ptr + ms->len);
if (info->magic != KORE_MEM_MAGIC)
- fatal("%s: bad meminfo magic (0x%zx)", __func__, info->magic);
+ fatal("%s: bad meminfo magic (0x%x)", __func__, info->magic);
return (info);
}