locale: make "arg_host" const
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 20 Nov 2018 09:08:33 +0000 (18:08 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 20 Nov 2018 17:40:02 +0000 (18:40 +0100)
src/locale/localectl.c

index 9698a9f..af1d27f 100644 (file)
@@ -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 {