]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
portablectl: make "arg_host" const
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 20 Nov 2018 09:36:19 +0000 (18:36 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 20 Nov 2018 17:40:02 +0000 (18:40 +0100)
src/portable/portablectl.c

index beed2a8c1c9e05a22cd6ae1dc50abe865ae77a70..9d1f3f781578b98bafa4abbf173923d1bf4629e4 100644 (file)
@@ -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;