From: Yu Watanabe Date: Tue, 30 Nov 2021 09:26:17 +0000 (+0900) Subject: tree-wide: fix typo X-Git-Tag: v250-rc1~114 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a6f44d610c1b1064c95ad0fef59ebc093a2a401a;p=thirdparty%2Fsystemd.git tree-wide: fix typo --- diff --git a/docs/ENVIRONMENT.md b/docs/ENVIRONMENT.md index 5f783ed9155..71d6c55010d 100644 --- a/docs/ENVIRONMENT.md +++ b/docs/ENVIRONMENT.md @@ -417,7 +417,7 @@ and `homectl`: * `$SYSTEMD_HOME_DEBUG_SUFFIX` – takes a short string that is suffixed to `systemd-homed`'s D-Bus and Varlink service names/sockets. This is also - understood by `homectl`. This too is useful for running an additiona copy of + understood by `homectl`. This too is useful for running an additional copy of `systemd-homed` that doesn't interfere with the host's main one. * `$SYSTEMD_HOMEWORK_PATH` – configures the path to the `systemd-homework` diff --git a/docs/USER_RECORD.md b/docs/USER_RECORD.md index ea800c9928b..bac0ce1721d 100644 --- a/docs/USER_RECORD.md +++ b/docs/USER_RECORD.md @@ -879,7 +879,8 @@ on removable media the delay is selected very low to minimize the chance the home directory remains in unclean state if the storage device is removed from the system by the user). -`accessMode` → The access mode currently in effect for the home directory iself. +`accessMode` → The access mode currently in effect for the home directory +itself. `fileSystemType` → The file system type backing the home directory: a short string, such as "btrfs", "ext4", "xfs". diff --git a/man/sd_event_source_set_ratelimit.xml b/man/sd_event_source_set_ratelimit.xml index 37354a09f6e..b8e6380ddd3 100644 --- a/man/sd_event_source_set_ratelimit.xml +++ b/man/sd_event_source_set_ratelimit.xml @@ -87,7 +87,7 @@ sd_event_source_set_ratelimit_expire_callback may be used to set a callback function that is invoked every time the event source leaves rate limited state. Note that function is - called in the same event loop iteration in which state transition occured. + called in the same event loop iteration in which state transition occurred. Rate limiting is currently implemented for I/O, timer, signal, defer and inotify event sources. diff --git a/man/sd_listen_fds.xml b/man/sd_listen_fds.xml index a71c291adf2..83d94c79031 100644 --- a/man/sd_listen_fds.xml +++ b/man/sd_listen_fds.xml @@ -55,7 +55,7 @@ to the processes themselves to close them after use or whether to leave them open until the process exits (in which case the kernel closes them automatically). Note that the file descriptors received by daemons are duplicates of the file descriptors the service manager originally allocated and bound and of which it - continously keeps a copy (except if Accept=yes is used). This means any socket option + continuously keeps a copy (except if Accept=yes is used). This means any socket option changes and other changes made to the sockets will visible to the service manager too. Most importanly this means it's generally not a good idea to invoke shutdown2 on diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index 4f37c22b759..cd21d5b28d0 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -1337,7 +1337,7 @@ CapabilityBoundingSet=~CAP_B CAP_C The second parameter will be interpreted as a destination path that will be created as a symlink to the directory. The symlinks will be created after any BindPaths= or TemporaryFileSystem= options have been set up, to make ephemeral symlinking possible. The same source can have multiple symlinks, by - using the same first parameter, but a diferent second parameter. + using the same first parameter, but a different second parameter. The directories defined by these options are always created under the standard paths used by systemd (/var/, /run/, /etc/, …). If the service needs diff --git a/src/basic/filesystems-gperf.gperf b/src/basic/filesystems-gperf.gperf index 7dd660addf1..08c8c445105 100644 --- a/src/basic/filesystems-gperf.gperf +++ b/src/basic/filesystems-gperf.gperf @@ -77,7 +77,7 @@ minix, {MINIX_SUPER_MAGIC, MINIX_SUPER_MAGIC2, MINIX2_SUPER_MAGIC, MIN mqueue, {MQUEUE_MAGIC} # msdos is an older legacy version of vfat, shares the magic msdos, {MSDOS_SUPER_MAGIC} -# ncp/ncpfs have been removed from the kernel, but ncpfs was the offical name +# ncp/ncpfs have been removed from the kernel, but ncpfs was the official name ncp, {NCP_SUPER_MAGIC} ncpfs, {NCP_SUPER_MAGIC} # nfs is the old version of nfs4, and they share the same magic diff --git a/src/boot/efi/meson.build b/src/boot/efi/meson.build index 17407281bb1..ffc62a98da5 100644 --- a/src/boot/efi/meson.build +++ b/src/boot/efi/meson.build @@ -26,7 +26,7 @@ endif if efi_arch.length() == 0 if get_option('gnu-efi') == 'true' - error('gnu-efi support requested, but headers not found or efi arch is unkown') + error('gnu-efi support requested, but headers not found or efi arch is unknown') endif warning('gnu-efi headers not found or efi arch is unkown, disabling gnu-efi support') subdir_done() diff --git a/src/home/homed-manager.c b/src/home/homed-manager.c index 3e5bd9c29d1..65d7d98dbc4 100644 --- a/src/home/homed-manager.c +++ b/src/home/homed-manager.c @@ -1800,7 +1800,7 @@ static int home_cmp(Home *const*a, Home *const*b) { assert(*b); /* Order user records by their weight (and by their name, to make things stable). We put the records - * with the heighest weight last, since we distribute space from the beginning and round down, hence + * with the highest weight last, since we distribute space from the beginning and round down, hence * later entries tend to get slightly more than earlier entries. */ r = CMP(user_record_rebalance_weight((*a)->record), user_record_rebalance_weight((*b)->record)); @@ -2012,7 +2012,7 @@ static int manager_rebalance_now(Manager *m) { log_debug("Rebalancing now..."); /* We maintain a simple state engine here to keep track of what we are doing. We'll first shrink all - * homes that shall be shrinked and then grow all homes that shall be grown, so that they can take up + * homes that shall be shrunk and then grow all homes that shall be grown, so that they can take up * the space now freed. */ for (;;) { diff --git a/src/home/homework-directory.c b/src/home/homework-directory.c index c2b383b7cd5..6dc3df55a85 100644 --- a/src/home/homework-directory.c +++ b/src/home/homework-directory.c @@ -178,7 +178,7 @@ int home_create_directory_or_subvolume(UserRecord *h, HomeSetup *setup, UserReco temporary = TAKE_PTR(d); /* Needs to be destroyed now */ /* Let's decouple namespaces now, so that we can possibly mount a UID map mount into - * /run/systemd/user-home-mount/ that noone will see but us. */ + * /run/systemd/user-home-mount/ that no one will see but us. */ r = home_unshare_and_mkdir(); if (r < 0) return r; diff --git a/src/home/homework-luks.c b/src/home/homework-luks.c index 9c008586fc7..80632063589 100644 --- a/src/home/homework-luks.c +++ b/src/home/homework-luks.c @@ -2848,7 +2848,7 @@ static int get_smallest_fs_size(int fd, uint64_t *ret) { if (fstatfs(fd, &sfs) < 0) return log_error_errno(errno, "Failed to statfs() home file system: %m"); - /* Let's determine the minimal file syste size of the used fstype */ + /* Let's determine the minimal file system size of the used fstype */ minsz = minimal_size_by_fs_magic(sfs.f_type); if (minsz == UINT64_MAX) return log_error_errno(SYNTHETIC_ERRNO(EOPNOTSUPP), "Don't know minimum file system size of file system type '%s' of home directory.", fs_type_to_string(sfs.f_type)); @@ -3779,7 +3779,7 @@ int wait_for_block_device_gone(HomeSetup *setup, usec_t timeout_usec) { /* So here's the thing: we enable "deferred deactivation" on our dm-crypt volumes. This means they * are automatically torn down once not used anymore (i.e. once unmounted). Which is great. It also * means that when we deactivate a home directory and try to tear down the volume that backs it, it - * possibly is aleady torn down or in the process of being torn down, since we race against the + * possibly is already torn down or in the process of being torn down, since we race against the * automatic tearing down. Which is fine, we handle errors from that. However, we lose the ability to * naturally wait for the tear down operation to complete: if we are not the ones who tear down the * device we are also not the ones who naturally block on that operation. Hence let's add some code diff --git a/src/home/homework.c b/src/home/homework.c index db6c15242ff..9fdc74b7754 100644 --- a/src/home/homework.c +++ b/src/home/homework.c @@ -305,7 +305,7 @@ int home_setup_undo_mount(HomeSetup *setup, int level) { * repeat that here */ return r; - /* If a higher log level is requested, the generate a non-debug mesage here too. */ + /* If a higher log level is requested, the generate a non-debug message here too. */ return log_full_errno(level, r, "Failed to unmount mount tree below %s: %m", HOME_RUNTIME_WORK_DIR); } diff --git a/src/network/networkd-dhcp6.c b/src/network/networkd-dhcp6.c index 170cf7d57db..8d48aa9f88b 100644 --- a/src/network/networkd-dhcp6.c +++ b/src/network/networkd-dhcp6.c @@ -1346,7 +1346,7 @@ int dhcp6_start_on_ra(Link *link, bool information_request) { assert(in6_addr_is_link_local(&link->ipv6ll_address)); if (link_get_dhcp6_client_start_mode(link) != DHCP6_CLIENT_START_MODE_NO) - /* When WithoutRA= is specified, then the DHCPv6 client should be already runnging in + /* When WithoutRA= is specified, then the DHCPv6 client should be already running in * the requested mode. Hence, ignore the requests by RA. */ return 0; diff --git a/src/partition/repart.c b/src/partition/repart.c index 50b1f453151..f1af5bb0ee9 100644 --- a/src/partition/repart.c +++ b/src/partition/repart.c @@ -1480,7 +1480,7 @@ static int determine_current_padding( offset = round_up_size(offset, 4096); next = round_down_size(next, 4096); - *ret = LESS_BY(next, offset); /* Saturated substraction, rounding might have fucked things up */ + *ret = LESS_BY(next, offset); /* Saturated subtraction, rounding might have fucked things up */ return 0; } diff --git a/src/shared/base-filesystem.c b/src/shared/base-filesystem.c index aede7171c16..5f5328c8cfa 100644 --- a/src/shared/base-filesystem.c +++ b/src/shared/base-filesystem.c @@ -24,7 +24,7 @@ typedef struct BaseFilesystem { const char *dir; /* directory or symlink to create */ mode_t mode; const char *target; /* if non-NULL create as symlink to this target */ - const char *exists; /* conditionalize this entry on existance of this file */ + const char *exists; /* conditionalize this entry on existence of this file */ bool ignore_failure; } BaseFilesystem; diff --git a/src/test/test-fd-util.c b/src/test/test-fd-util.c index 167fecab253..5b5a712469d 100644 --- a/src/test/test-fd-util.c +++ b/src/test/test-fd-util.c @@ -314,7 +314,7 @@ static int seccomp_prohibit_close_range(void) { return 0; #else - return log_warning_errno(SYNTHETIC_ERRNO(EOPNOTSUPP), "Seccomp support or close_range() syscall definition not availeble."); + return log_warning_errno(SYNTHETIC_ERRNO(EOPNOTSUPP), "Seccomp support or close_range() syscall definition not available."); #endif } diff --git a/test/units/testsuite-67.sh b/test/units/testsuite-67.sh index 01b6a5b001b..ac7e7ba0163 100755 --- a/test/units/testsuite-67.sh +++ b/test/units/testsuite-67.sh @@ -65,7 +65,7 @@ do # Cause the generator to re-run systemctl daemon-reload || exit 1 - # Check for existance of unit files... + # Check for existence of unit files... if [[ ! -e "/run/systemd/generator/systemd-integritysetup@${DM_NAME}.service" ]]; then echo "Service file does not exist!" exit 1 @@ -89,7 +89,7 @@ do systemctl stop systemd-integritysetup@"${DM_NAME}".service || exit 1 if [ -e "${FULL_DM_DEV_NAME}" ]; then - echo "Expecting ${FULL_DM_DEV_NAME} to not exist after stoping unit!" + echo "Expecting ${FULL_DM_DEV_NAME} to not exist after stopping unit!" exit 1 fi