From: Yu Watanabe Date: Tue, 20 Nov 2018 09:36:19 +0000 (+0900) Subject: portablectl: make "arg_host" const X-Git-Tag: v240~258^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0c760322a4035c1ef4786db55759cac71bd714a7;p=thirdparty%2Fsystemd.git portablectl: make "arg_host" const --- diff --git a/src/portable/portablectl.c b/src/portable/portablectl.c index beed2a8c1c9..9d1f3f78157 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;