Escape strings for reloc dumps.

Line feeds messing up the output wasn't nice :P.
This commit is contained in:
Bill Currie 2012-11-13 21:14:51 +09:00
parent 1dd8f34190
commit f002f3ad7a

View file

@ -331,7 +331,7 @@ qfo_relocs (qfo_t *qfo)
case rel_def_string:
printf (" def@%d:%x string:%x `%s'",
reloc->space, reloc->offset, reloc->target,
QFO_GETSTR (qfo, reloc->target));
quote_string (QFO_GETSTR (qfo, reloc->target)));
break;
case rel_def_field:
def = qfo->defs + reloc->target;