diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-07-27 22:36:36 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-08-05 20:49:21 -0400 |
commit | ae691c1d9382995ea7e28317f5c37023229c27ee (patch) | |
tree | 62ecbb70b83af41c523969a33c98efddef4eba35 /src/hostname | |
parent | 17eb9a9ddba3f03fcba33445c1c1eedeb948da04 (diff) |
hostname-util: get rid of unused parameter of hostname_cleanup()
All users are now setting lowercase=false.
Diffstat (limited to 'src/hostname')
-rw-r--r-- | src/hostname/hostnamectl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hostname/hostnamectl.c b/src/hostname/hostnamectl.c index d194e9b629..dcbad99ae9 100644 --- a/src/hostname/hostnamectl.c +++ b/src/hostname/hostnamectl.c @@ -273,13 +273,13 @@ static int set_hostname(sd_bus *bus, char **args, unsigned n) { if (arg_static && hostname_is_valid(hostname, true)) { p = ""; /* maybe get rid of trailing dot */ - hostname = hostname_cleanup(hostname, false); + hostname = hostname_cleanup(hostname); } else { p = h = strdup(hostname); if (!p) return log_oom(); - hostname_cleanup(hostname, false); + hostname_cleanup(hostname); } r = set_simple_string(bus, "SetPrettyHostname", p); |