aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2026-07-27 18:09:03 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2026-07-27 18:09:03 +0000
commitc13a9982b56f873c7aa3374a69f6aa296a2d1968 (patch)
treed173fd1d001895df38ab2e3216b817f2b000d1dc
parent9bf1bcf7491de99e4b0a8dd2ba8c61d5603ab407 (diff)
kdump: Treat a flags argument of 0 to shmat as valid
Sponsored by: AFRL, DARPA
-rw-r--r--usr.bin/kdump/kdump.c2
1 files changed, 1 insertions, 1 deletions
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;