summaryrefslogtreecommitdiffstats
path: root/src/portable/portablectl.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-11-20 10:36:19 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-11-20 18:40:02 +0100
commit0c760322a4035c1ef4786db55759cac71bd714a7 (patch)
treeec4ab6e0559986851c8cc5dc644f6aa9480fe42f /src/portable/portablectl.c
parentmount-tool: use static destructor and DEFINE_MAIN_FUNCTION() macro (diff)
downloadsystemd-0c760322a4035c1ef4786db55759cac71bd714a7.tar.xz
systemd-0c760322a4035c1ef4786db55759cac71bd714a7.zip
portablectl: make "arg_host" const
Diffstat (limited to 'src/portable/portablectl.c')
-rw-r--r--src/portable/portablectl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/portablectl.c b/src/portable/portablectl.c
index beed2a8c1c..9d1f3f7815 100644
--- a/src/portable/portablectl.c
+++ b/src/portable/portablectl.c
@@ -37,7 +37,7 @@ static bool arg_runtime = false;
static bool arg_reload = true;
static bool arg_cat = false;
static BusTransport arg_transport = BUS_TRANSPORT_LOCAL;
-static char *arg_host = NULL;
+static const char *arg_host = NULL;
static int determine_image(const char *image, bool permit_non_existing, char **ret) {
int r;