diff options
Diffstat (limited to 'src/kernel/vfs/procfs.c')
-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; |