1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-05-12 17:25:16 +02:00

Fix x86-64 debug build -Wformat warning

src/x86_64/Gstep.c: In function '_ULx86_64_step':
src/x86_64/Gstep.c:204:4: warning: unknown conversion type character 'r' in format [-Wformat]
This commit is contained in:
Tommi Rantala 2012-10-05 08:25:24 +03:00 committed by Arun Sharma
parent 96c1bca2b0
commit adae66d2e2

View file

@ -201,7 +201,7 @@ unw_step (unw_cursor_t *cursor)
if (DWARF_IS_NULL_LOC (c->dwarf.loc[RBP])) if (DWARF_IS_NULL_LOC (c->dwarf.loc[RBP]))
{ {
ret = 0; ret = 0;
Debug (2, "NULL %rbp loc, returning %d\n", ret); Debug (2, "NULL %%rbp loc, returning %d\n", ret);
return ret; return ret;
} }
if (!DWARF_IS_NULL_LOC (c->dwarf.loc[RIP])) if (!DWARF_IS_NULL_LOC (c->dwarf.loc[RIP]))