From 847da1ac1be8665f049e68978bd7d1ebd1c66fdc Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Tue, 20 Nov 2018 18:08:33 +0900 Subject: [PATCH] locale: make "arg_host" const --- src/locale/localectl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/locale/localectl.c b/src/locale/localectl.c index 9698a9f2a8..af1d27f9c7 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 {