some printf format corrections
This commit is contained in:
parent
6d9d69aebf
commit
0afe372ebb
|
@ -48,7 +48,7 @@ core_dump()
|
|||
|
||||
fprintf(core_file, "OnTrap=%d\n", OnTrap);
|
||||
fprintf(core_file, "IgnMask=%ld\n", IgnMask);
|
||||
fprintf(core_file, "TrapPI=%d\n", TrapPI);
|
||||
fprintf(core_file, "TrapPI=%ld\n", TrapPI);
|
||||
|
||||
fprintf(core_file, "FRASize=%ld\n", FRASize);
|
||||
fprintf(core_file, "FRA_def=%d\n", FRA_def);
|
||||
|
|
|
@ -1766,7 +1766,7 @@ PRIVATE do_pr_instr(opcode)
|
|||
do_pr_instr(TERT_BASE + nextTCbyte());
|
||||
break;
|
||||
default:
|
||||
printf(">>>> bad opcode %d at PC = %lu <<<<\n",
|
||||
printf(">>>> bad opcode %u at PC = %lu <<<<\n",
|
||||
opcode, TC);
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -183,11 +183,11 @@ std_rsb(addr)
|
|||
}
|
||||
else
|
||||
if (pi < NProc) {
|
||||
sprintf(pr_descr, "(%lu,%lu)",
|
||||
sprintf(pr_descr, "(%ld,%ld)",
|
||||
pi, (long)proctab[pi].pr_nloc);
|
||||
}
|
||||
else {
|
||||
sprintf(pr_descr, "%lu >>>> ILLEGAL <<<<", pi);
|
||||
sprintf(pr_descr, "%ld >>>> ILLEGAL <<<<", pi);
|
||||
}
|
||||
LOG((" d1 >> RSB: code = %s, PI = %s, PC = %lu, LB = %lu, LIN = %lu, FIL = %s",
|
||||
displ_code(code), pr_descr, pc, lb, lin, displ_fil(fil)));
|
||||
|
|
Loading…
Reference in a new issue