fork of PCE focusing on macplus, supporting DaynaPort SCSI network emulation
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ibmpc: Fix a sprintf() format string

Hampa Hug a1f49cfe ccb6d68f

+1 -1
+1 -1
src/arch/ibmpc/main.c
··· 216 216 } 217 217 218 218 if (op->arg_n == 1) { 219 - dst_i += sprintf (dst + dst_i, op->arg1); 219 + dst_i += sprintf (dst + dst_i, "%s", op->arg1); 220 220 } 221 221 else if (op->arg_n == 2) { 222 222 dst_i += sprintf (dst + dst_i, "%s, %s", op->arg1, op->arg2);