summaryrefslogtreecommitdiff
path: root/src/systemctl/systemctl.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-24 12:28:07 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-29 21:55:52 +0200
commitfc2ffaf17d69fbe58183b2bdd61a655d575d8b0f (patch)
tree1cb03fb0efa65124fb9aa60b7f3b9f749527f4c4 /src/systemctl/systemctl.c
parent48ec22bc02921ae6324f5ec1373244437fb4a6fb (diff)
systemctl: add 'const' where appropriate
Diffstat (limited to 'src/systemctl/systemctl.c')
-rw-r--r--src/systemctl/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 421443fef3..ecd4c01858 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -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;