From ae691c1d9382995ea7e28317f5c37023229c27ee Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Mon, 27 Jul 2015 22:36:36 -0400 Subject: hostname-util: get rid of unused parameter of hostname_cleanup() All users are now setting lowercase=false. --- src/firstboot/firstboot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/firstboot') 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(); -- cgit v1.2.3-54-g00ecf