diff options
author | 2004-07-31 15:05:01 -0700 | |
---|---|---|
committer | 2005-04-07 21:02:26 -0700 | |
commit | 1f3e80df98d6b64c3b97a6ffd04fe7d5c6b626ec (patch) | |
tree | ff515b91674ff2f5b082a927676dbf392d04d9ce /compile-i386.c | |
parent | Simplify testing for "is it a string?" by just checking (diff) | |
download | sparse-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.c | 2 |
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; } |