summaryrefslogtreecommitdiff
path: root/Userland/Utilities/su.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Utilities/su.cpp')
-rw-r--r--Userland/Utilities/su.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/su.cpp b/Userland/Utilities/su.cpp
index 382ae1e6b5..ad53516b66 100644
--- a/Userland/Utilities/su.cpp
+++ b/Userland/Utilities/su.cpp
@@ -20,7 +20,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
if (!TRY(Core::System::isatty(STDIN_FILENO)))
return Error::from_string_literal("Standard input is not a terminal");
- const char* user = nullptr;
+ char const* user = nullptr;
Core::ArgsParser args_parser;
args_parser.add_positional_argument(user, "User to switch to (defaults to user with UID 0)", "user", Core::ArgsParser::Required::No);