summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTommi Rantala <tt.rantala@gmail.com>2012-10-05 08:25:24 +0300
committerArun Sharma <asharma@fb.com>2012-10-05 21:24:36 -0700
commitadae66d2e24f3779272acfdff6941f29ed61950a (patch)
treece24a241e3eac711fc21745ea4719ba572fdeabb
parent96c1bca2b08f147011814b1b7be6863151ef0be9 (diff)
downloadlibunwind-adae66d2e24f3779272acfdff6941f29ed61950a.tar.gz
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]
-rw-r--r--src/x86_64/Gstep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x86_64/Gstep.c b/src/x86_64/Gstep.c
index 8d5e1f6f..9fa0967b 100644
--- a/src/x86_64/Gstep.c
+++ b/src/x86_64/Gstep.c
@@ -201,7 +201,7 @@ unw_step (unw_cursor_t *cursor)
if (DWARF_IS_NULL_LOC (c->dwarf.loc[RBP]))
{
ret = 0;
- Debug (2, "NULL %rbp loc, returning %d\n", ret);
+ Debug (2, "NULL %%rbp loc, returning %d\n", ret);
return ret;
}
if (!DWARF_IS_NULL_LOC (c->dwarf.loc[RIP]))