summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-01-20 07:32:16 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-01-20 07:32:16 +0100
commitd09df6b94e0c4924ea7064c79ab0441f5aff469b (patch)
tree5c79a78b875e19a80bdf7f48585defb717e69c3e /src
parentMerge pull request #26105 from yuwata/network-config-parse-address-make-prefi... (diff)
downloadsystemd-d09df6b94e0c4924ea7064c79ab0441f5aff469b.tar.xz
systemd-d09df6b94e0c4924ea7064c79ab0441f5aff469b.zip
tree-wide: fix typo
Diffstat (limited to 'src')
-rw-r--r--src/boot/bootctl-status.c2
-rw-r--r--src/boot/efi/boot.c2
-rw-r--r--src/core/execute.c2
-rw-r--r--src/core/service.c2
-rw-r--r--src/cryptsetup/cryptsetup.c2
-rw-r--r--src/gpt-auto-generator/gpt-auto-generator.c2
-rw-r--r--src/libsystemd-network/sd-dhcp6-client.c2
7 files changed, 7 insertions, 7 deletions
diff --git a/src/boot/bootctl-status.c b/src/boot/bootctl-status.c
index 8077a8a005..ffdf7e7d70 100644
--- a/src/boot/bootctl-status.c
+++ b/src/boot/bootctl-status.c
@@ -576,7 +576,7 @@ static void deref_unlink_file(Hashmap *known_files, const char *fn, const char *
if (path_extract_directory(fn, &d) >= 0 && !path_equal(d, "/")) {
r = chase_symlinks_and_unlink(d, root, CHASE_PREFIX_ROOT|CHASE_PROHIBIT_SYMLINKS, AT_REMOVEDIR, NULL);
if (r < 0 && !IN_SET(r, -ENOTEMPTY, -ENOENT))
- log_warning_errno(r, "Failed to remove directoy \"%s\", ignoring: %m", d);
+ log_warning_errno(r, "Failed to remove directory \"%s\", ignoring: %m", d);
}
}
diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c
index af05859a7e..8d6e689b37 100644
--- a/src/boot/efi/boot.c
+++ b/src/boot/efi/boot.c
@@ -28,7 +28,7 @@
#ifndef GNU_EFI_USE_MS_ABI
/* We do not use uefi_call_wrapper() in systemd-boot. As such, we rely on the
* compiler to do the calling convention conversion for us. This is check is
- * to make sure the -DGNU_EFI_USE_MS_ABI was passed to the comiler. */
+ * to make sure the -DGNU_EFI_USE_MS_ABI was passed to the compiler. */
#error systemd-boot requires compilation with GNU_EFI_USE_MS_ABI defined.
#endif
diff --git a/src/core/execute.c b/src/core/execute.c
index 221da31065..f5d57a63b5 100644
--- a/src/core/execute.c
+++ b/src/core/execute.c
@@ -4908,7 +4908,7 @@ static int exec_child(
/* If the user namespace was not set up above, try to do it now.
* It's preferred to set up the user namespace later (after all other namespaces) so as not to be
- * restricted by rules pertaining to combining user namspaces with other namespaces (e.g. in the
+ * restricted by rules pertaining to combining user namespaces with other namespaces (e.g. in the
* case of mount namespaces being less privileged when the mount point list is copied from a
* different user namespace). */
diff --git a/src/core/service.c b/src/core/service.c
index a376b70f42..9c2fb2ee1c 100644
--- a/src/core/service.c
+++ b/src/core/service.c
@@ -3832,7 +3832,7 @@ static void service_sigchld_event(Unit *u, pid_t pid, int code, int status) {
s->reload_result = f;
- /* If the last notification we received from the service process indiciates
+ /* If the last notification we received from the service process indicates
* we are still reloading, then don't leave reloading state just yet, just
* transition into SERVICE_RELOAD_NOTIFY, to wait for the READY=1 coming,
* too. */
diff --git a/src/cryptsetup/cryptsetup.c b/src/cryptsetup/cryptsetup.c
index d40fe7bfad..38ee7f8935 100644
--- a/src/cryptsetup/cryptsetup.c
+++ b/src/cryptsetup/cryptsetup.c
@@ -92,7 +92,7 @@ static bool arg_fido2_device_auto = false;
static void *arg_fido2_cid = NULL;
static size_t arg_fido2_cid_size = 0;
static char *arg_fido2_rp_id = NULL;
-static char *arg_tpm2_device = NULL; /* These and the following fields are about locking an encypted volume to the local TPM */
+static char *arg_tpm2_device = NULL; /* These and the following fields are about locking an encrypted volume to the local TPM */
static bool arg_tpm2_device_auto = false;
static uint32_t arg_tpm2_pcr_mask = UINT32_MAX;
static char *arg_tpm2_signature = NULL;
diff --git a/src/gpt-auto-generator/gpt-auto-generator.c b/src/gpt-auto-generator/gpt-auto-generator.c
index 9b11318017..dcf95a3ee1 100644
--- a/src/gpt-auto-generator/gpt-auto-generator.c
+++ b/src/gpt-auto-generator/gpt-auto-generator.c
@@ -455,7 +455,7 @@ static int add_automount(
static const char *esp_or_xbootldr_options(const DissectedPartition *p) {
assert(p);
- /* Discoveried ESP and XBOOTLDR partition are always hardened with "noexec,nosuid,nodev".
+ /* Discovered ESP and XBOOTLDR partition are always hardened with "noexec,nosuid,nodev".
* If we probed vfat or have no idea about the file system then assume these file systems are vfat
* and thus understand "umask=0077". */
diff --git a/src/libsystemd-network/sd-dhcp6-client.c b/src/libsystemd-network/sd-dhcp6-client.c
index 40edfd3908..57dd91f81f 100644
--- a/src/libsystemd-network/sd-dhcp6-client.c
+++ b/src/libsystemd-network/sd-dhcp6-client.c
@@ -1383,7 +1383,7 @@ int sd_dhcp6_client_stop(sd_dhcp6_client *client) {
return 0;
/* Intentionally ignoring failure to send DHCP6 release. The DHCPv6 client
- engine is about to release its UDP socket inconditionally. */
+ * engine is about to release its UDP socket unconditionally. */
r = client_send_release(client);
if (r < 0)
log_dhcp6_client_errno(client, r,