aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@mail.ru>2004-07-31 15:05:01 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:02:26 -0700
commit1f3e80df98d6b64c3b97a6ffd04fe7d5c6b626ec (patch)
treeff515b91674ff2f5b082a927676dbf392d04d9ce /compile-i386.c
parentSimplify testing for "is it a string?" by just checking (diff)
downloadsparse-1f3e80df98d6b64c3b97a6ffd04fe7d5c6b626ec.tar.gz
sparse-1f3e80df98d6b64c3b97a6ffd04fe7d5c6b626ec.tar.bz2
sparse-1f3e80df98d6b64c3b97a6ffd04fe7d5c6b626ec.zip
[PATCH] Print instruction's suffix in a human-readable form.
{'b', 'w', 'l', 'q'} instead of {ascii 8, ascii 16, ' ', '@'}
Diffstat (limited to 'compile-i386.c')
-rw-r--r--compile-i386.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile-i386.c b/compile-i386.c
index 87db313..d720b66 100644
--- a/compile-i386.c
+++ b/compile-i386.c
@@ -992,7 +992,7 @@ static const char *opbits(const char *insn, unsigned int bits)
default: assert(0); break;
}
- sprintf(opbits_str, "%s%c", insn, bits);
+ sprintf(opbits_str, "%s%c", insn, c);
return opbits_str;
}