summaryrefslogtreecommitdiff
path: root/src/kernel
diff options
context:
space:
mode:
authordzwdz2021-10-03 18:12:17 +0000
committerdzwdz2021-10-03 18:12:17 +0000
commitfaed927869451cf4070abba91b5a9cf9e32c9a6c (patch)
tree10261b62890de5566fb2f159cbb57845d816bab1 /src/kernel
parent16a5b4c9ed410daba848a781f8b8978846c6b836 (diff)
vfs_root_handler: correct the panic type to invalid state
all the switch cases are already implemented, so that panic can only occur due to invalid state
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/vfs/root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/vfs/root.c b/src/kernel/vfs/root.c
index 7e957ef..8e2c8a2 100644
--- a/src/kernel/vfs/root.c
+++ b/src/kernel/vfs/root.c
@@ -41,6 +41,6 @@ int vfs_root_handler(struct vfs_request *req) {
}
default: panic_invalid_state();
}
- default: panic_unimplemented(); // TODO
+ default: panic_invalid_state();
}
}