The branch main has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=969f6380eb66f809eed3e5c38b6021824a4cc2bf
commit 969f6380eb66f809eed3e5c38b6021824a4cc2bf Author: Kyle Evans <kev...@freebsd.org> AuthorDate: 2025-06-04 01:51:06 +0000 Commit: Kyle Evans <kev...@freebsd.org> CommitDate: 2025-06-04 01:51:06 +0000 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 --- usr.bin/kdump/kdump.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c index ff32dd418f24..86df45acdf05 100644 --- a/usr.bin/kdump/kdump.c +++ b/usr.bin/kdump/kdump.c @@ -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++;