summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/kernel/vfs/procfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/vfs/procfs.c b/src/kernel/vfs/procfs.c
index fc17f1d..7ba43d8 100644
--- a/src/kernel/vfs/procfs.c
+++ b/src/kernel/vfs/procfs.c
@@ -90,7 +90,7 @@ procfs_accept(VfsReq *req)
{
Proc *root = req->backend->kern.data;
struct phandle *h = (__force void*)req->id;
- Proc *p;
+ Proc *p = NULL;
char buf[512];
assert(root);
assert(root->pns == root);