summaryrefslogtreecommitdiffstats
path: root/src/stack.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2014-01-02 23:59:41 +0100
committerMark Wielaard <[email protected]>2014-01-02 23:59:41 +0100
commit36490c9e861b6ba93d839d2c09f6dc66d60ed87e (patch)
tree3a45f65b7655f16f82a60c764fbb0ef003bff3b3 /src/stack.c
parent6034e2f4366c6ac1c02aa2c795db480e7fc9b655 (diff)
stack.c (print_frames): Print 0x before build-id hex-offset.
Signed-off-by: Mark Wielaard <[email protected]>
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);
}
}