From 5c19169fe95f436a233f92fc62fdca783a0fc5ec Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 10 Aug 2022 19:43:38 +0900 Subject: [PATCH] tree-wide: fix typo --- NEWS | 2 +- src/boot/efi/boot.c | 2 +- src/boot/efi/stub.c | 2 +- src/core/scope.c | 2 +- src/network/networkd-sriov.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/NEWS b/NEWS index 27e9029284..f2747b6aca 100644 --- a/NEWS +++ b/NEWS @@ -127,7 +127,7 @@ CHANGES WITH 252 in spe: * The pkgconfig and rpm macros files now export the directory for user units as 'user_tmpfiles_dir' and '_user_tmpfilesdir'. - * Detection of Parallells and KubeVirt virtualization has been improved. + * Detection of Parallels and KubeVirt virtualization has been improved. * os-release gained a new field SUPPORT_END=YYYY-MM-DD to inform the user when their system will become unsupported. diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c index 87771c477d..9c1d95e672 100644 --- a/src/boot/efi/boot.c +++ b/src/boot/efi/boot.c @@ -2495,7 +2495,7 @@ static EFI_STATUS secure_boot_discover_keys(Config *config, EFI_FILE *root_dir) config_add_entry(config, entry); if (config->secure_boot_enroll == ENROLL_FORCE && strcaseeq16(dirent->FileName, u"auto")) - /* if we auto enroll sucessfully this call does not return, if it fails we still + /* if we auto enroll successfully this call does not return, if it fails we still * want to add other potential entries to the menu */ secure_boot_enroll_at(root_dir, entry->path); } diff --git a/src/boot/efi/stub.c b/src/boot/efi/stub.c index 49ece41961..003ae8c99a 100644 --- a/src/boot/efi/stub.c +++ b/src/boot/efi/stub.c @@ -239,7 +239,7 @@ EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *sys_table) { } /* if we are not in secure boot mode, or none was provided, accept a custom command line and replace - * the built-in one. We also do a superficial check whether first chararacter of passed command line + * the built-in one. We also do a superficial check whether first character of passed command line * is printable character (for compat with some Dell systems which fill in garbage?). */ if ((!secure_boot_enabled() || cmdline_len == 0) && loaded_image->LoadOptionsSize > 0 && diff --git a/src/core/scope.c b/src/core/scope.c index 4b1c5d303d..f807525d36 100644 --- a/src/core/scope.c +++ b/src/core/scope.c @@ -490,7 +490,7 @@ static int scope_start(Unit *u) { (void) unit_reset_accounting(u); /* We check only for User= option to keep behavior consistent with logic for service units, - * i.e. having 'Delegate=true Group=foo' w/o specifing User= has no effect. */ + * i.e. having 'Delegate=true Group=foo' w/o specifying User= has no effect. */ if (s->user && unit_cgroup_delegate(u)) return scope_enter_start_chown(s); diff --git a/src/network/networkd-sriov.c b/src/network/networkd-sriov.c index 3d44c8fc82..5c270741bb 100644 --- a/src/network/networkd-sriov.c +++ b/src/network/networkd-sriov.c @@ -158,7 +158,7 @@ static int manager_update_sr_iov_ifindices(Manager *manager, int phys_port_ifind assert(phys_port_ifindex > 0); assert(virt_port_ifindex > 0); - /* This sets ifindices only whenn both interfaces are already managed by us. */ + /* This sets ifindices only when both interfaces are already managed by us. */ r = link_get_by_index(manager, phys_port_ifindex, &phys_link); if (r < 0)