aboutsummaryrefslogtreecommitdiff
path: root/kernel/kernel/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kernel/main.cpp')
-rw-r--r--kernel/kernel/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/kernel/main.cpp b/kernel/kernel/main.cpp
index 749040ce..28429b84 100644
--- a/kernel/kernel/main.cpp
+++ b/kernel/kernel/main.cpp
@@ -48,7 +48,7 @@ auto run_demo() -> void
// 3) show that /entrance/information/info_1.txt is not accessible before mounting
kstd::println("attempting to open /entrance/information/info_1.txt before mounting");
auto fd_before_mount = kapi::filesystem::open("/entrance/information/info_1.txt");
- if (!fd_before_mount && fd_before_mount.error() == make_error_condition(kstd::errc::no_such_file_or_directory))
+ if (!fd_before_mount && fd_before_mount.error() == kstd::errc::no_such_file_or_directory)
{
kstd::println("--> as expected the file could not be opened before mounting");
}