From 5bc87609d214255d4ecdf3285d1b26e7df7dbc56 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 7 Jul 2009 10:27:51 -0700 Subject: outdbg: be excrutiatingly correct... outdbg is actually a good starting point to make a new backend, so we really should endeavor to make it do things "right". Signed-off-by: H. Peter Anvin --- output/outdbg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output/outdbg.c b/output/outdbg.c index 676185f8..1ee16ea2 100644 --- a/output/outdbg.c +++ b/output/outdbg.c @@ -157,7 +157,7 @@ static void dbg_out(int32_t segto, const void *data, segment, wrt); break; case OUT_REL2ADR: - fprintf(dbgf, "rel2adr %04x (seg %08"PRIx32")\n", + fprintf(dbgf, "rel2adr %04"PRIx16" (seg %08"PRIx32")\n", (uint16_t)*(int64_t *)data, segment); break; case OUT_REL4ADR: -- cgit v1.2.1