From 4aa5e6d8f4199918a283b0fcab4415f02f0664ed Mon Sep 17 00:00:00 2001 From: Yudistira Putra Date: Sun, 20 Sep 2026 15:35:34 +0700 Subject: [PATCH] syscalls/m68k: fix argument 2 name for mseal The third argument (ARG_2) of mseal (syscall 462) was mistakenly named "size", duplicating ARG_1. Rename ARG_2 to "flags" to match the Linux mseal(2) signature (void *start, size_t size, unsigned long flags) and the other architecture definitions in kafel. --- src/syscalls/m68k_syscalls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syscalls/m68k_syscalls.c b/src/syscalls/m68k_syscalls.c index 5c57357..df55e36 100644 --- a/src/syscalls/m68k_syscalls.c +++ b/src/syscalls/m68k_syscalls.c @@ -2826,7 +2826,7 @@ const struct syscall_descriptor m68k_syscall_list[] = { { [ARG_0] = {"start", 4}, [ARG_1] = {"size", 4}, - [ARG_2] = {"size", 4}, + [ARG_2] = {"flags", 4}, }}, {"setxattrat", 463,