summaryrefslogtreecommitdiff
path: root/src/stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stack.c')
-rw-r--r--src/stack.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stack.c b/src/stack.c
index f9f964a4..623dc5f0 100644
--- a/src/stack.c
+++ b/src/stack.c
@@ -255,7 +255,8 @@ print_frames (struct frames *frames, pid_t tid, int dwflerr, const char *what)
do
printf ("%02" PRIx8, *id++);
while (--id_len > 0);
- printf ("]@0x%0" PRIx64 "+%" PRIx64, start, pc_adjusted - start);
+ printf ("]@0x%0" PRIx64 "+0x%" PRIx64,
+ start, pc_adjusted - start);
}
}