diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-11-20 10:36:19 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-11-20 18:40:02 +0100 |
commit | 0c760322a4035c1ef4786db55759cac71bd714a7 (patch) | |
tree | ec4ab6e0559986851c8cc5dc644f6aa9480fe42f /src/portable/portablectl.c | |
parent | mount-tool: use static destructor and DEFINE_MAIN_FUNCTION() macro (diff) | |
download | systemd-0c760322a4035c1ef4786db55759cac71bd714a7.tar.xz systemd-0c760322a4035c1ef4786db55759cac71bd714a7.zip |
portablectl: make "arg_host" const
Diffstat (limited to 'src/portable/portablectl.c')
-rw-r--r-- | src/portable/portablectl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/portablectl.c b/src/portable/portablectl.c index beed2a8c1c..9d1f3f7815 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; |