diff options
author | dzwdz | 2024-02-21 21:08:12 +0100 |
---|---|---|
committer | dzwdz | 2024-02-21 21:08:12 +0100 |
commit | 8adaf0da869a17ba37ab7d5cf4fddbf5d878978f (patch) | |
tree | f18336efbb97c7016a170722b84c6838f7cab8ba /src/kernel/syscalls.c | |
parent | 4b8f771d6ec926f95ec017c427348013d4c1872c (diff) |
kernel: integrate the proc_ns_next fixes into proc_next
Diffstat (limited to 'src/kernel/syscalls.c')
-rw-r--r-- | src/kernel/syscalls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c index 5f53ccb..343f45c 100644 --- a/src/kernel/syscalls.c +++ b/src/kernel/syscalls.c @@ -367,7 +367,7 @@ int _sys_intr(const char __user *msg, size_t len) { if (pcpy_from(proc_cur, buf, msg, len) < len) { SYSCALL_RETURN(-EFAULT); } - for (Proc *p = proc_cur->child; p; p = proc_next(p, proc_cur)) { + for (Proc *p = proc_cur->child; p; p = proc_next(proc_cur, p)) { proc_intr(p, buf, len); count++; } |