kdump: nicer printing of kill(2) PID argument
Similar to wait*(), kill(2) operates on a pid that currently gets output as hex. Output it in decimal to make it a little easier to eyeball the pid we're signalling. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D50508
This commit is contained in:
@@ -1028,7 +1028,8 @@ ktrsyscall_freebsd(struct ktr_syscall *ktr, register_t **resip,
|
||||
narg--;
|
||||
break;
|
||||
case SYS_kill:
|
||||
print_number(ip, narg, c);
|
||||
*ip = (pid_t)*ip;
|
||||
print_decimal_number(ip, narg, c);
|
||||
putchar(',');
|
||||
print_signal(*ip);
|
||||
ip++;
|
||||
|
||||
Reference in New Issue
Block a user