summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-01-03 21:15:06 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-01-03 21:16:06 +0100
commitb36c5e958708a9c53252c9f574f192152ec7e7e4 (patch)
treea06bdb54f144abe0fb743a2886f3d141ee5939a7
parentdocs: update branch names (diff)
downloadsystemd-b36c5e958708a9c53252c9f574f192152ec7e7e4.tar.xz
systemd-b36c5e958708a9c53252c9f574f192152ec7e7e4.zip
various: fix three spelling issues found by fossies
-rw-r--r--.clang-format2
-rwxr-xr-x.github/workflows/run_mkosi.sh4
-rw-r--r--src/boot/efi/console.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/.clang-format b/.clang-format
index 651249c701..8d50be42e7 100644
--- a/.clang-format
+++ b/.clang-format
@@ -1,7 +1,7 @@
# This configuration file can be used to auto-format the code base.
# Not all guidelines specified in CODING_STYLE are followed, so the
# result MUST NOT be committed indiscriminately, but each automated
-# change should be reviewed and only the appropriate ones commited.
+# change should be reviewed and only the appropriate ones committed.
#
# The easiest way to apply the formatting to your changes ONLY,
# is to use the git-clang-format script (usually installed with clang-format).
diff --git a/.github/workflows/run_mkosi.sh b/.github/workflows/run_mkosi.sh
index e8803239aa..980fa1a96c 100755
--- a/.github/workflows/run_mkosi.sh
+++ b/.github/workflows/run_mkosi.sh
@@ -13,7 +13,7 @@ for ((i = 0; i < 5; i++)); do
EC=0
(sudo python3 -m mkosi "$@") |& tee "$TEMPFILE" || EC=$?
if [[ $EC -eq 0 ]]; then
- # The command passed - let's return immediatelly
+ # The command passed — let's return immediately
break
fi
@@ -23,7 +23,7 @@ for ((i = 0; i < 5; i++)); do
exit $EC
fi
- # The command failed due to the dissect-related timeout - let's try again
+ # The command failed due to the dissect-related timeout — let's try again
sleep 1
done
diff --git a/src/boot/efi/console.c b/src/boot/efi/console.c
index 89fbd94258..86cd15a235 100644
--- a/src/boot/efi/console.c
+++ b/src/boot/efi/console.c
@@ -32,7 +32,7 @@ static inline void EventClosep(EFI_EVENT *event) {
* Also, multiple input protocols can be backed by the same device, but they can be out of
* sync. Falling back on a different protocol can end up with double input.
*
- * Therefore, we will perferrably use TextInputEx for ConIn if that is available. Additionally,
+ * Therefore, we will preferably use TextInputEx for ConIn if that is available. Additionally,
* we look for the first TextInputEx device the firmware gives us as a fallback option. It
* will replace ConInEx permanently if it ever reports a key press.
* Lastly, a timer event allows us to provide a input timeout without having to call into