summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nm-policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-policy.c b/src/nm-policy.c
index 18e222552d..5a16768c06 100644
--- a/src/nm-policy.c
+++ b/src/nm-policy.c
@@ -553,7 +553,7 @@ update_system_hostname (NMPolicy *self, NMDevice *best4, NMDevice *best6)
/* Check if the hostname was set externally to NM, so that in that case
* we can avoid to fallback to the one we got when we started */
if ( (_get_hostname (&temp_hostname) == 0)
- && nm_utils_is_specific_hostname(temp_hostname)
+ && nm_utils_is_specific_hostname (temp_hostname)
&& !nm_streq0 (temp_hostname, priv->last_hostname)) {
hostname_changed = TRUE;
_LOGI (LOGD_DNS, "current hostname was changed outside NetworkManager: '%s'",