summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-07-07 10:27:51 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-07-07 10:27:51 -0700
commit5bc87609d214255d4ecdf3285d1b26e7df7dbc56 (patch)
tree3796b0e3c4009836b37453c0140ec49bd708d1f3
parent62c0e8379c7619022f98331025ac7bb35660750a (diff)
downloadnasm-5bc87609d214255d4ecdf3285d1b26e7df7dbc56.tar.gz
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 <hpa@zytor.com>
-rw-r--r--output/outdbg.c2
1 files changed, 1 insertions, 1 deletions
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: