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:
Kyle Evans
2025-06-03 20:51:06 -05:00
parent 3eb26ef41c
commit 969f6380eb
+2 -1
View File
@@ -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++;