From: Yu Watanabe Date: Tue, 20 Nov 2018 09:08:33 +0000 (+0900) Subject: locale: make "arg_host" const X-Git-Tag: v240~258^2~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=847da1ac1be8665f049e68978bd7d1ebd1c66fdc;p=thirdparty%2Fsystemd.git locale: make "arg_host" const --- diff --git a/src/locale/localectl.c b/src/locale/localectl.c index 9698a9f2a85..af1d27f9c7b 100644 --- a/src/locale/localectl.c +++ b/src/locale/localectl.c @@ -29,7 +29,7 @@ static PagerFlags arg_pager_flags = 0; static bool arg_ask_password = true; static BusTransport arg_transport = BUS_TRANSPORT_LOCAL; -static char *arg_host = NULL; +static const char *arg_host = NULL; static bool arg_convert = true; typedef struct StatusInfo {