summaryrefslogtreecommitdiff
path: root/src/firstboot/firstboot.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-07-27 22:36:36 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-08-05 20:49:21 -0400
commitae691c1d9382995ea7e28317f5c37023229c27ee (patch)
tree62ecbb70b83af41c523969a33c98efddef4eba35 /src/firstboot/firstboot.c
parent17eb9a9ddba3f03fcba33445c1c1eedeb948da04 (diff)
hostname-util: get rid of unused parameter of hostname_cleanup()
All users are now setting lowercase=false.
Diffstat (limited to 'src/firstboot/firstboot.c')
-rw-r--r--src/firstboot/firstboot.c4
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();