summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Userland/Services/WebServer/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Services/WebServer/main.cpp b/Userland/Services/WebServer/main.cpp
index 69f1226c59..e050424cb7 100644
--- a/Userland/Services/WebServer/main.cpp
+++ b/Userland/Services/WebServer/main.cpp
@@ -35,14 +35,14 @@ int main(int argc, char** argv)
}
if ((u16)port != port) {
- printf("Warning: invalid port number: %d\n", port);
+ outln("Warning: Invalid port number: {}", port);
port = default_port;
}
auto real_root_path = Core::File::real_path_for(root_path);
if (!Core::File::exists(real_root_path)) {
- fprintf(stderr, "Root path does not exist: '%s'\n", root_path);
+ warnln("Root path does not exist: '{}'", root_path);
return 1;
}