]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
networkctl: fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 10 Dec 2023 05:25:31 +0000 (14:25 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 10 Dec 2023 05:25:33 +0000 (14:25 +0900)
Follow-up for 2b98926f9809eb858a5abe4f64ebd067df5059d5.

src/network/networkctl.c

index 939b590a6d07ed89e43f7c5342aaabe976b9a318..f8ee3931720106e4402660388b6a6a5931ef6560 100644 (file)
@@ -3081,7 +3081,7 @@ static int add_config_to_edit(
          * under /etc/, we bail out since the one in /etc/ always overrides that in /run/. */
         if (arg_runtime && !arg_drop_in && path_startswith(path, "/etc"))
                 return log_error_errno(SYNTHETIC_ERRNO(EEXIST),
-                                       "Cannot edit runtime config file: overriden by %s", path);
+                                       "Cannot edit runtime config file: overridden by %s", path);
 
         if (path_startswith(path, "/usr") || arg_runtime != !!path_startswith(path, "/run")) {
                 _cleanup_free_ char *name = NULL;
@@ -3107,7 +3107,7 @@ static int add_config_to_edit(
                 /* See the explanation above */
                 if (arg_runtime && path_startswith(old_dropin, "/etc"))
                         return log_error_errno(SYNTHETIC_ERRNO(EEXIST),
-                                               "Cannot edit runtime config file: overriden by %s", old_dropin);
+                                               "Cannot edit runtime config file: overridden by %s", old_dropin);
 
                 need_new_dropin = path_startswith(old_dropin, "/usr") || arg_runtime != !!path_startswith(old_dropin, "/run");
         } else