Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jul 2026 18:09:20 +0000
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: c13a9982b56f - main - kdump: Treat a flags argument of 0 to shmat as valid
Message-ID:  <6a679ed0.30fa7.62f7b470@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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;


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a679ed0.30fa7.62f7b470>