From 19cc6d5e54161e5af93b2bd8ba6a990168537bb5 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sun, 9 May 2021 14:36:19 +0900 Subject: [PATCH] tree-wide: fix typo --- src/basic/process-util.c | 2 +- src/libsystemd-network/sd-dhcp-server.c | 2 +- src/shared/dissect-image.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/basic/process-util.c b/src/basic/process-util.c index 4cd8287bb00..de28daf2b17 100644 --- a/src/basic/process-util.c +++ b/src/basic/process-util.c @@ -190,7 +190,7 @@ int get_process_cmdline(pid_t pid, size_t max_columns, ProcessCmdlineFlags flags assert(line); assert(pid >= 0); - /* Retrieve adn format a commandline. See above for discussion of retrieval options. + /* Retrieve and format a commandline. See above for discussion of retrieval options. * * There are two main formatting modes: * diff --git a/src/libsystemd-network/sd-dhcp-server.c b/src/libsystemd-network/sd-dhcp-server.c index 05c8a0eae4b..4713561904b 100644 --- a/src/libsystemd-network/sd-dhcp-server.c +++ b/src/libsystemd-network/sd-dhcp-server.c @@ -1082,7 +1082,7 @@ static int server_receive_message(sd_event_source *s, int fd, size_t buflen = datagram_size; if (sd_dhcp_server_is_in_relay_mode(server)) - /* Preallocate the additional size for DHCP Relay Agent Information Option if neeeded */ + /* Preallocate the additional size for DHCP Relay Agent Information Option if needed */ buflen += relay_agent_information_length(server->agent_circuit_id, server->agent_remote_id) + 2; message = malloc(buflen); diff --git a/src/shared/dissect-image.h b/src/shared/dissect-image.h index c961ee3e71a..1ce14e915e2 100644 --- a/src/shared/dissect-image.h +++ b/src/shared/dissect-image.h @@ -112,7 +112,7 @@ typedef enum DissectImageFlags { DISSECT_IMAGE_READ_ONLY = DISSECT_IMAGE_DEVICE_READ_ONLY | DISSECT_IMAGE_MOUNT_READ_ONLY, DISSECT_IMAGE_GROWFS = 1 << 18, /* Grow file systems in partitions marked for that to the size of the partitions after mount */ - DISSECT_IMAGE_MOUNT_IDMAPPED = 1 << 19, /* Mount mounts with kernel 5.12-style userns ID mapping, if file sytem type doesn't support uid=/gid= */ + DISSECT_IMAGE_MOUNT_IDMAPPED = 1 << 19, /* Mount mounts with kernel 5.12-style userns ID mapping, if file system type doesn't support uid=/gid= */ } DissectImageFlags; struct DissectedImage { -- 2.47.3