diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-03-31 02:49:33 -0400 |
---|---|---|
committer | Matthias Hopf <mhopf@suse.de> | 2010-04-06 17:47:34 +0200 |
commit | d0e46bd630088c87049f84cacb5b6ef112575b0f (patch) | |
tree | b080e43e9156e202861d75e9e867c29a782f89fa | |
parent | 10d2e8ab1c95af563fdcac832026efdf76e7ed70 (diff) |
clean up CTB_DS output formatting
Signed-off-by: Matthias Hopf <mhopf@suse.de>
-rw-r--r-- | main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -310,7 +310,8 @@ int sub_src (uint8_t *d, char *out, int type, int align, int size, int index) { int op_ds (uint8_t *d, char *out) { const optab_t *op = &optable[d[0]]; uint16_t size = *(uint16_t *) &d[1]; - out += sprintf (out, "%-5s %d bytes", op->name, size); + /* Multiline, because even the hexdump typically needs lots of space */ + out += sprintf (out, "\n %-5s %d bytes", op->name, size); return size + 3; } |