From fc2ffaf17d69fbe58183b2bdd61a655d575d8b0f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 24 Sep 2015 12:28:07 +0200 Subject: [PATCH] systemctl: add 'const' where appropriate --- src/systemctl/systemctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 421443fef33..ecd4c01858f 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; -- 2.47.3