From 4f45cf6063f4dc5a6c1ff59c11465cd764a38e83 Mon Sep 17 00:00:00 2001 From: Daniel Beer Date: Tue, 10 Aug 2010 16:30:13 +1200 Subject: [PATCH] Bug fix: fix formatting for 8 byte instructions. --- cproc_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cproc_util.c b/cproc_util.c index c811788..3f9fb44 100644 --- a/cproc_util.c +++ b/cproc_util.c @@ -242,7 +242,7 @@ void cproc_disassemble(cproc_t cp, len += snprintf(buf + len, sizeof(buf) - len, " %02x", data[i]); - while (i < 7) { + while (i < 9) { buf[len++] = ' '; buf[len++] = ' '; buf[len++] = ' ';