diff options
Diffstat (limited to 'src/kernel/vfs/procfs.c')
-rw-r--r-- | src/kernel/vfs/procfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/vfs/procfs.c b/src/kernel/vfs/procfs.c index 4bacaf7..79dfdc0 100644 --- a/src/kernel/vfs/procfs.c +++ b/src/kernel/vfs/procfs.c @@ -73,7 +73,7 @@ openpath(const char *path, size_t len, Proc *root) return NULL; } - h = kmalloc(sizeof *h); + h = kmalloc(sizeof *h, "proc fd"); h->gid = gid; h->type = type; return h; @@ -182,7 +182,7 @@ isdigit(int c) { VfsBackend * procfs_backend(Proc *proc) { - VfsBackend *be = kzalloc(sizeof(VfsBackend)); + VfsBackend *be = kzalloc(sizeof(VfsBackend), "kern fs"); *be = (VfsBackend) { .is_user = false, .provhcnt = 1, |