diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-07-28 04:36:36 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-08-06 02:49:21 +0200 |
commit | ae691c1d9382995ea7e28317f5c37023229c27ee (patch) | |
tree | 62ecbb70b83af41c523969a33c98efddef4eba35 /src/firstboot | |
parent | hostnamectl: allow trailing dot on fqdn (diff) | |
download | systemd-ae691c1d9382995ea7e28317f5c37023229c27ee.tar.xz systemd-ae691c1d9382995ea7e28317f5c37023229c27ee.zip |
hostname-util: get rid of unused parameter of hostname_cleanup()
All users are now setting lowercase=false.
Diffstat (limited to 'src/firstboot')
-rw-r--r-- | src/firstboot/firstboot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/firstboot/firstboot.c b/src/firstboot/firstboot.c index df98212da8..01a3d38746 100644 --- a/src/firstboot/firstboot.c +++ b/src/firstboot/firstboot.c @@ -392,7 +392,7 @@ static int prompt_hostname(void) { } /* Get rid of the trailing dot that we allow, but don't want to see */ - arg_hostname = hostname_cleanup(h, false); + arg_hostname = hostname_cleanup(h); h = NULL; break; } @@ -786,7 +786,7 @@ static int parse_argv(int argc, char *argv[]) { return -EINVAL; } - hostname_cleanup(optarg, false); + hostname_cleanup(optarg); if (free_and_strdup(&arg_hostname, optarg) < 0) return log_oom(); |