diff options
author | dzwdz | 2023-01-18 23:18:49 +0100 |
---|---|---|
committer | dzwdz | 2023-01-18 23:18:49 +0100 |
commit | 1e261597a5c5f9803a65a5b13dd71d33d501f010 (patch) | |
tree | 50de2741a4917e21427c7920fa33e0372129de92 /src/kernel/vfs | |
parent | ec81fa16d837f430add92b4d2ee4bd3727ca6c6d (diff) |
kernel: add a root argument to process_next
Diffstat (limited to 'src/kernel/vfs')
-rw-r--r-- | src/kernel/vfs/procfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/vfs/procfs.c b/src/kernel/vfs/procfs.c index 0f65f93..5837012 100644 --- a/src/kernel/vfs/procfs.c +++ b/src/kernel/vfs/procfs.c @@ -45,7 +45,7 @@ openpath(const char *path, size_t len, struct process *p) static struct process * findgid(uint32_t gid, struct process *root) { - for (struct process *p = root; p; p = process_next(p)) { + for (struct process *p = root; p; p = process_next(p, root)) { if (p->globalid == gid) return p; } return NULL; |