tags 643374 +patch
thanks
Index: dis51-0.5/pass2.c
===================================================================
--- dis51-0.5.orig/pass2.c	2004-02-20 17:09:30.000000000 -0500
+++ dis51-0.5/pass2.c	2011-11-11 16:10:45.970149283 -0500
@@ -183,7 +183,7 @@
 			fprintf(ofile, "DB 85h  ; illegal opcode");
 		case 1:
 				/* no operands */
-			fprintf(ofile, mnemonic[opcode]);
+			fprintf(ofile, "%s", mnemonic[opcode]);
 			break;
 		case 2:
 				/* one immediate operand */

Reply via email to