git: c13a9982b56f - main - kdump: Treat a flags argument of 0 to shmat as valid

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Mon, 27 Jul 2026 18:09:20 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=c13a9982b56f873c7aa3374a69f6aa296a2d1968

commit c13a9982b56f873c7aa3374a69f6aa296a2d1968
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2026-07-27 18:09:03 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2026-07-27 18:09:03 +0000

    kdump: Treat a flags argument of 0 to shmat as valid
    
    Sponsored by:   AFRL, DARPA
---
 usr.bin/kdump/kdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index 75bee040a92c..398478c2d86c 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -1305,7 +1305,7 @@ ktrsyscall_freebsd(struct ktr_syscall *ktr, register_t **resip,
 				print_number(ip, narg, c);
 				print_number(ip, narg, c);
 				putchar(',');
-				print_mask_arg(sysdecode_shmat_flags, *ip);
+				print_mask_arg0(sysdecode_shmat_flags, *ip);
 				ip++;
 				narg--;
 				break;