systemctl: add 'const' where appropriate
authorLennart Poettering <lennart@poettering.net>
Thu, 24 Sep 2015 10:28:07 +0000 (12:28 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 29 Sep 2015 19:55:52 +0000 (21:55 +0200)
src/systemctl/systemctl.c

index 421443f..ecd4c01 100644 (file)
@@ -133,7 +133,7 @@ static enum action {
         _ACTION_MAX
 } arg_action = ACTION_SYSTEMCTL;
 static BusTransport arg_transport = BUS_TRANSPORT_LOCAL;
-static char *arg_host = NULL;
+static const char *arg_host = NULL;
 static unsigned arg_lines = 10;
 static OutputMode arg_output = OUTPUT_SHORT;
 static bool arg_plain = false;