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

John Baldwin <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a679ed0.30fa7.62f7b470__24805.9544990369$1785175784$gmane$org@gitrepo.freebsd.org>
The branch main has been updated by jhb:

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

commit c13a9982b56f873c7aa3374a69f6aa296a2d1968
Author:     John Baldwin <[email protected]>
AuthorDate: 2026-07-27 18:09:03 +0000
Commit:     John Baldwin <[email protected]>
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;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.