From: Lennart Poettering Date: Thu, 24 Sep 2015 10:28:07 +0000 (+0200) Subject: systemctl: add 'const' where appropriate X-Git-Tag: v227~62^2~18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fc2ffaf17d69fbe58183b2bdd61a655d575d8b0f;p=thirdparty%2Fsystemd.git systemctl: add 'const' where appropriate --- 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;