summaryrefslogtreecommitdiff
path: root/Userland/shutdown.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/shutdown.cpp')
-rw-r--r--Userland/shutdown.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/shutdown.cpp b/Userland/shutdown.cpp
index 7884f12c15..cd2ffe67c1 100644
--- a/Userland/shutdown.cpp
+++ b/Userland/shutdown.cpp
@@ -5,7 +5,7 @@ int main(int argc, char** argv)
{
CArgsParser args_parser("shutdown");
args_parser.add_arg("n", "shut down now");
- CArgsParserResult args = args_parser.parse(argc, (const char**)argv);
+ CArgsParserResult args = args_parser.parse(argc, argv);
if (args.is_present("n")) {
syscall(SC_halt);