cstool: align assembly output
diff --git a/cstool/cstool.c b/cstool/cstool.c
index 50e3e0c..6fe3d59 100644
--- a/cstool/cstool.c
+++ b/cstool/cstool.c
@@ -355,7 +355,7 @@
for (i = 0; i < count; i++) {
int j;
- printf("%"PRIx64" ", insn[i].address);
+ printf("%2"PRIx64" ", insn[i].address);
for (j = 0; j < insn[i].size; j++) {
if (j > 0)
putchar(' ');
@@ -365,7 +365,7 @@
// align assembly instruction after the opcode
if (arch == CS_ARCH_X86) {
for (; j < 16; j++) {
- printf(" ");
+ printf(" ");
}
}