summaryrefslogtreecommitdiff
path: root/Userland/Services/SystemServer/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Services/SystemServer/main.cpp')
-rw-r--r--Userland/Services/SystemServer/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/SystemServer/main.cpp b/Userland/Services/SystemServer/main.cpp
index 6a9dc97587..36022987b2 100644
--- a/Userland/Services/SystemServer/main.cpp
+++ b/Userland/Services/SystemServer/main.cpp
@@ -50,7 +50,7 @@ static void sigchld_handler(int)
static void parse_boot_mode()
{
auto f = Core::File::construct("/proc/cmdline");
- if (!f->open(Core::IODevice::ReadOnly)) {
+ if (!f->open(Core::OpenMode::ReadOnly)) {
dbgln("Failed to read command line: {}", f->error_string());
return;
}