From faed927869451cf4070abba91b5a9cf9e32c9a6c Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 3 Oct 2021 18:12:17 +0000 Subject: 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 --- src/kernel/vfs/root.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel') 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(); } } -- cgit v1.2.3