summaryrefslogtreecommitdiff
path: root/src/kernel
diff options
context:
space:
mode:
authordzwdz2023-09-03 01:41:52 +0200
committerdzwdz2023-09-03 01:41:52 +0200
commitf8732691b48284bf1fe50f03142c52223a99859c (patch)
tree5d8046b0a8bd57fb859616c5527479ce9996075a /src/kernel
parenta492c6ec119bd1151a6f2f7b70875ba173e9c036 (diff)
build: -Os
Diffstat (limited to 'src/kernel')
-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);