From 0500f755fcfba521abafda7c4d99753c5fec4004 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sun, 10 Dec 2023 14:25:31 +0900 Subject: [PATCH] networkctl: fix typo Follow-up for 2b98926f9809eb858a5abe4f64ebd067df5059d5. --- src/network/networkctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/network/networkctl.c b/src/network/networkctl.c index 939b590a6d..f8ee393172 100644 --- a/src/network/networkctl.c +++ b/src/network/networkctl.c @@ -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 -- 2.25.1