From: Jelle van der Waa Date: Mon, 5 May 2025 17:32:52 +0000 (+0200) Subject: shared: fix typo in read_etc_hostname definition X-Git-Tag: v258-rc1~689^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff259047d5943986000ffa262eaccffcf44e0589;p=thirdparty%2Fsystemd.git shared: fix typo in read_etc_hostname definition --- diff --git a/src/shared/bus-polkit.c b/src/shared/bus-polkit.c index 37a25db81a7..0c61464ef0d 100644 --- a/src/shared/bus-polkit.c +++ b/src/shared/bus-polkit.c @@ -128,7 +128,7 @@ int bus_test_polkit( _cleanup_(sd_bus_message_unrefp) sd_bus_message *request = NULL, *reply = NULL; int authorized = false, challenge = false; - r = bus_message_new_polkit_auth_call_for_bus(call, action, details, /* interactive = */ false, &request); + r = bus_message_new_polkit_auth_call_for_bus(call, action, details, /* flags = */ false, &request); if (r < 0) return r; diff --git a/src/shared/hostname-setup.h b/src/shared/hostname-setup.h index e3601b85907..526ea0b7ebd 100644 --- a/src/shared/hostname-setup.h +++ b/src/shared/hostname-setup.h @@ -22,7 +22,7 @@ int sethostname_idempotent(const char *s); int shorten_overlong(const char *s, char **ret); int read_etc_hostname_stream(FILE *f, bool substitute_wildcards, char **ret); -int read_etc_hostname(const char *path, bool substitue_wildcards, char **ret); +int read_etc_hostname(const char *path, bool substitute_wildcards, char **ret); void hostname_update_source_hint(const char *hostname, HostnameSource source); int hostname_setup(bool really);