]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hostname: fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 11 Mar 2025 21:26:45 +0000 (06:26 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 11 Mar 2025 21:26:56 +0000 (06:26 +0900)
Follow-up for af9c45d5b6c1b1962731dffc638a2320e5eef095.

src/hostname/hostnamed.c

index fb80e1280a6817fa622397e19bc73987b8866c96..d9ec55455fb8f175b5f26fd4ac74ab590149af5d 100644 (file)
@@ -1232,7 +1232,7 @@ static int validate_and_substitute_hostname(const char *name, char **ret_substit
 
         r = hostname_substitute_wildcards(substituted);
         if (r < 0)
-                return log_error_errno(r, "Failed to substitute wildcards in hotname: %m");
+                return log_error_errno(r, "Failed to substitute wildcards in hostname: %m");
 
         if (!hostname_is_valid(substituted, 0))
                 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid hostname '%s'", name);