tree-wide: fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 25 Dec 2021 09:08:39 +0000 (18:08 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 25 Dec 2021 09:32:22 +0000 (18:32 +0900)
src/boot/efi/console.c
src/core/service.c
src/network/networkd-setlink.c
src/udev/udev-rules.c
test/units/testsuite-68.sh

index 89fbd94258749cc3dda3b7666fdb3450e5cc1a03..86cd15a23524a6180d7db677023bfb941ffb77fc 100644 (file)
@@ -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
index b8430eae96550cdd7c3c87e6c8c5281e4e73491d..88307fa1a5dea776ee59c1efff1fc54da1c468b5 100644 (file)
@@ -1468,8 +1468,8 @@ static int service_create_monitor_md_env(Job *j, char **ret) {
          *
          * For example:
          *
-         * MONITOR_METADATA="SERVICE_RESULT=exit-code,EXIT_CODE=exited,EXIT_STATUS=1,INVOCATION_ID=02dd868af2f344b18edaf74b618b2f90,UNIT=failer.service;
-         *                   SERVICE_RESULT=exit-code,EXIT_CODE=exited,EXIT_STATUS=1,INVOCATION_ID=80cb228bd7344f77a090eda603a3cfe2,UNIT=failer2.service"
+         * MONITOR_METADATA="SERVICE_RESULT=exit-code,EXIT_CODE=exited,EXIT_STATUS=1,INVOCATION_ID=02dd868af2f344b18edaf74b618b2f90,UNIT=failure.service;
+         *                   SERVICE_RESULT=exit-code,EXIT_CODE=exited,EXIT_STATUS=1,INVOCATION_ID=80cb228bd7344f77a090eda603a3cfe2,UNIT=failure2.service"
          */
 
         LIST_FOREACH(triggered_by, tu, j->triggered_by) {
index 2b659e8f3683e265c26749991d4950e65ea8874b..b9fd1d749e7af36429d255ecfe24bb31d8f3fa7b 100644 (file)
@@ -1173,7 +1173,7 @@ static bool link_is_ready_to_bring_up_or_down(Link *link, bool up) {
         if (up && link->dsa_master_ifindex > 0) {
                 Link *master;
 
-                /* The master inteface must be up. See comments in link_up_dsa_slave(). */
+                /* The master interface must be up. See comments in link_up_dsa_slave(). */
 
                 if (link_get_by_index(link->manager, link->dsa_master_ifindex, &master) < 0)
                         return false;
index 836a7789fb785473f6a77148c667f64c03cc7050..ea4d548f60de7764bdff6eb94fc365fb3af868ec 100644 (file)
@@ -1733,7 +1733,7 @@ static int udev_rule_apply_token_to_event(
                 event->program_result = mfree(event->program_result);
                 (void) udev_event_apply_format(event, token->value, buf, sizeof(buf), false, &truncated);
                 if (truncated) {
-                        log_rule_debug(dev, rules, "The command '%s' is trucated while substituting into '%s', "
+                        log_rule_debug(dev, rules, "The command '%s' is truncated while substituting into '%s', "
                                        "assuming the PROGRAM key does not match.", buf, token->value);
                         return false;
                 }
index 1ac244bc5f3658026328a0bfc2f29fa1244e9319..15e2e0353fd392e6dfbb5352e1388f1e2fb0f8ef 100755 (executable)
@@ -39,7 +39,7 @@ EOF
 # Another service which triggers testservice-failure-exit-handler-68.service
 cat >/run/systemd/system/testservice-failure-68-additional.service <<EOF
 [Unit]
-Description=TEST-68-PROPAGATE-EXIT-STATUS Additonal service with OnFailure= trigger
+Description=TEST-68-PROPAGATE-EXIT-STATUS Additional service with OnFailure= trigger
 OnFailure=testservice-failure-exit-handler-68.service
 
 [Service]