From 05403363cabe975b85fbe98133317f3dab7e50a2 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sun, 5 Sep 2021 07:12:50 +0900 Subject: [PATCH] tree-wide: fix typo --- mkosi.default.d/fedora/mkosi.fedora | 2 +- src/analyze/analyze-security.c | 2 +- src/basic/socket-util.h | 2 +- src/libsystemd/sd-netlink/netlink-types-rtnl.c | 2 +- test/units/testsuite-63.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mkosi.default.d/fedora/mkosi.fedora b/mkosi.default.d/fedora/mkosi.fedora index cc3a5a2d1a..bfd6f633d5 100644 --- a/mkosi.default.d/fedora/mkosi.fedora +++ b/mkosi.default.d/fedora/mkosi.fedora @@ -67,7 +67,7 @@ BuildPackages= Packages= gdb nano - # procps-ng provides a set of useful utilies (ps, free, etc) + # procps-ng provides a set of useful utilities (ps, free, etc) procps-ng strace tpm2-tss diff --git a/src/analyze/analyze-security.c b/src/analyze/analyze-security.c index 63d1998ed3..03b63cd1b3 100644 --- a/src/analyze/analyze-security.c +++ b/src/analyze/analyze-security.c @@ -1615,7 +1615,7 @@ static JsonVariant* security_assessor_find_in_policy(const struct security_asses if (!policy) return NULL; if (!json_variant_is_object(policy)) { - log_debug("Specificied policy is not a JSON object, ignoring."); + log_debug("Specified policy is not a JSON object, ignoring."); return NULL; } diff --git a/src/basic/socket-util.h b/src/basic/socket-util.h index a844c1151a..7fd591f6e2 100644 --- a/src/basic/socket-util.h +++ b/src/basic/socket-util.h @@ -286,7 +286,7 @@ struct timespec_large { }; /* glibc duplicates timespec/timeval on certain 32bit archs, once in 32bit and once in 64bit. - * See __convert_scm_timestamps() in glibc souce code. Hence, we need additional buffer space for them + * See __convert_scm_timestamps() in glibc source code. Hence, we need additional buffer space for them * to prevent from recvmsg_safe() returning -EXFULL. */ #define CMSG_SPACE_TIMEVAL \ ((sizeof(struct timeval) == sizeof(struct timeval_large)) ? \ diff --git a/src/libsystemd/sd-netlink/netlink-types-rtnl.c b/src/libsystemd/sd-netlink/netlink-types-rtnl.c index 3424bd625a..2c01751a52 100644 --- a/src/libsystemd/sd-netlink/netlink-types-rtnl.c +++ b/src/libsystemd/sd-netlink/netlink-types-rtnl.c @@ -238,7 +238,7 @@ static const NLType rtnl_link_info_data_gre_types[] = { }; /* IFLA_IPTUN_ attributes are used in ipv4/ipip.c, ipv6/ip6_tunnel.c, and ipv6/sit.c. And unfortunately, - * IFLA_IPTUN_FLAGS is used with differnt types, ugh... */ + * IFLA_IPTUN_FLAGS is used with different types, ugh... */ #define DEFINE_IPTUN_TYPES(name, flags_type) \ static const NLType rtnl_link_info_data_##name##_types[] = { \ [IFLA_IPTUN_LINK] = { .type = NETLINK_TYPE_U32 }, \ diff --git a/test/units/testsuite-63.sh b/test/units/testsuite-63.sh index 207dfeff68..4474cc3a2a 100755 --- a/test/units/testsuite-63.sh +++ b/test/units/testsuite-63.sh @@ -55,7 +55,7 @@ EOF systemd-analyze verify --recursive-errors=no /tmp/testfile2.service set +e -# Non-zero exit status since all associated dependencies are recusrively loaded when the unit file is loaded +# Non-zero exit status since all associated dependencies are recusively loaded when the unit file is loaded systemd-analyze verify --recursive-errors=yes /tmp/testfile2.service \ && { echo 'unexpected success'; exit 1; } set -e -- 2.25.1