kdump was translating the wrong argument (third instead of first).
Before patch: CALL setpriority(0,0x2bc3,<invalid=10>)
After patch: CALL setpriority(PRIO_PROCESS,0x2bc3,0xa)
ip++;
narg--;
} else if (ktr->ktr_code == SYS_setpriority) {
- print_number(ip,narg,c);
- print_number(ip,narg,c);
- (void)putchar(',');
+ (void)putchar('(');
prioname((int)*ip);
ip++;
narg--;
+ c = ',';
+ print_number(ip,narg,c);
+ print_number(ip,narg,c);
} else if (ktr->ktr_code == SYS_fcntl) {
int cmd;
int arg;