]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Fix typos
authorTobias Stoeckmann <tobias@stoeckmann.org>
Tue, 27 Jan 2026 17:19:46 +0000 (18:19 +0100)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Tue, 27 Jan 2026 17:19:46 +0000 (18:19 +0100)
Typos found with codespell.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
35 files changed:
disk-utils/cfdisk.c
include/configs.h
include/mountutils.h
include/netaddrq.h
include/netlink.h
lib/mbsedit.c
lib/netaddrq.c
lib/netlink.c
lib/strutils.c
libblkid/src/superblocks/zfs.c
libmount/samples/statmount.c
libmount/src/fs.c
libmount/src/fs_statmount.c
libmount/src/hook_veritydev.c
libmount/src/monitor_fanotify.c
libmount/src/monitor_utab.c
libmount/src/optlist.c
libmount/src/tab.c
libmount/src/tab_listmount.c
libuuid/src/gen_uuid.c
login-utils/su-common.c
misc-utils/fincore.c
misc-utils/findmnt.c
misc-utils/lsblk.c
sys-utils/zramctl.c
term-utils/agetty.c
tests/expected/misc/mcookie
tests/helpers/test_mkfds.c
tests/helpers/test_mkfds_ppoll.c
tests/ts/kill/decode
tests/ts/lsblk/lsblk
tests/ts/lsfd/mkfds-cdev-tun
tests/ts/misc/mcookie
tests/ts/schedutils/coresched
tools/git-tp-sync

index e2f1cd74ddfdcc823657d3e7708b3eb023efdacd..16337fa5d1b2a3cd51d151ea04e6c7d9e40abb31 100644 (file)
@@ -2414,7 +2414,7 @@ static int main_menu_action(struct cfdisk *cf, int key)
                if (!npa)
                        return -ENOMEM;
 
-               if (dflt_size == size)  /* default is to fillin all free space */
+               if (dflt_size == size)  /* default is to fill in all free space */
                        fdisk_partition_end_follow_default(npa, 1);
                else
                        fdisk_partition_set_size(npa, secs);
index e47dde787d437116013f895316bf772e23a8833c..7ef58c9cb4a6eb3709f87165e9460c3a450cb200 100644 (file)
@@ -2,7 +2,7 @@
  * No copyright is claimed.  This code is in the public domain; do with
  * it what you wish.
  *
- * Evaluting a list of configuration filenames which have to be handled/parsed.
+ * Evaluating a list of configuration filenames which have to be handled/parsed.
  *
  * The order of this file list has been defined by
  * https://github.com/uapi-group/specifications/blob/main/specs/configuration_files_specification.md
@@ -14,7 +14,7 @@
 #include "list.h"
 
 /**
- * ul_configs_file_list - Evaluting a list of sorted configuration filenames which have to be handled
+ * ul_configs_file_list - Evaluating a list of sorted configuration filenames which have to be handled
  *                        in the correct order.
  *
  * @file_list: List of filenames which have to be parsed in that order
index b2c4f750958c1e34eddf1f765e14a08e5379eb37..71529916aede65d9b0f3eaf1422afdc84bd9b7eb 100644 (file)
@@ -12,7 +12,7 @@
 #include <inttypes.h>
 
 /*
- * File descritors based mount API
+ * File descriptors based mount API
  */
 #ifdef HAVE_MOUNTFD_API
 
index d9c595f326d42f269f16acd8b48a7f45a5f9806a..d25123a384ecebf9f9c95bd6dd975a363d2da8fa 100644 (file)
@@ -6,8 +6,8 @@
  * This program is freely distributable.
  *
  * This set of netlink callbacks kernel and creates
- * and/or maintains a linked list of requested type. Using callback fuctions
- * and custom data, it could be used for arbitraty purpose.
+ * and/or maintains a linked list of requested type. Using callback functions
+ * and custom data, it could be used for arbitrary purpose.
  *
  */
 
@@ -37,7 +37,7 @@ struct ul_netaddrq_data {
        ul_nl_callback callback_pre;  /* Function to process ul_netaddrq_data */
        ul_nl_callback callback_post; /* Function to process ul_netaddrq_data */
        void *callback_data;          /* Arbitrary data for callback */
-       struct list_head ifaces;      /* The intefaces list */
+       struct list_head ifaces;      /* The interfaces list */
        /* ifaces_change_* has to be changed by userspace when processed. */
        bool ifaces_change_4;         /* Any changes in the IPv4 list? */
        bool ifaces_change_6;         /* Any changes in the IPv6 list? */
index ee4917b39c4fd007129fe8b0a9353d2b16a368bb..349a0561daf85fff5434c295665e6923adfdf716 100644 (file)
@@ -9,8 +9,8 @@
  * joins message parts into a single structure and calls callback.
  *
  * To do something useful, callback for a selected message type has to be
- * defined. Using callback fuctions and custom data, it could be used for
- * arbitraty purpose.
+ * defined. Using callback functions and custom data, it could be used for
+ * arbitrary purpose.
  *
  * The code is incomplete. More could be implemented as needed by its use
  * cases.
index 8408cc28ba766e003163020c765bff6414e2b623..8a84cf6d3961765175466588c291f70b703a8d4b 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * SPDX-License-Identifier: LGPL-2.1-or-later
  *
- * Very simple multibyte buffer editor. Allows to maintaine the current
+ * Very simple multibyte buffer editor. Allows to maintain the current
  * position in the string, add and remove chars on the current position.
  *
  * This file may be distributed under the terms of the
index 9f003f4c1ff78280fc12122b91d44356c05b3324..3770b50b5684f10ec71897e1d0708bb807a70744 100644 (file)
@@ -6,8 +6,8 @@
  * This program is freely distributable.
  *
  * This set of netlink callbacks kernel and creates
- * and/or maintains a linked list of requested type. Using callback fuctions
- * and custom data, it could be used for arbitraty purpose.
+ * and/or maintains a linked list of requested type. Using callback functions
+ * and custom data, it could be used for arbitrary purpose.
  *
  */
 
@@ -37,7 +37,7 @@ const int max_ifaces = 12;
 static UL_DEBUG_DEFINE_MASK(netaddrq);
 UL_DEBUG_DEFINE_MASKNAMES(netaddrq) =
 {
-       { "all",   ULNETADDRQ_DEBUG_ALL,        "complete adddress processing" },
+       { "all",   ULNETADDRQ_DEBUG_ALL,        "complete address processing" },
        { "help",  ULNETADDRQ_DEBUG_HELP,       "this help" },
        { "addrq", ULNETADDRQ_DEBUG_ADDRQ,      "address rating" },
        { "list",  ULNETADDRQ_DEBUG_LIST,       "list processing" },
@@ -625,7 +625,7 @@ static void dump_addrq(struct ul_nl_data *nl, enum addrq_print_mode c)
 
 static int callback_post(struct ul_nl_data *nl)
 {
-       /* If not processing dump, process the change immediatelly by the
+       /* If not processing dump, process the change immediately by the
         * callback. */
        if (!nl->dumping)
        {
index 501f17567658284f7f1344aa0348aeab04dc318a..a6c7f25f2e3774952868e236fc4fa38e95a95c74 100644 (file)
@@ -6,8 +6,8 @@
  * This program is freely distributable.
  *
  * This set of functions processes netlink messages from kernel and creates
- * and/or maintains a linked list of requested type. Using callback fuctions
- * and custom data, it could be used for arbitraty purpose.
+ * and/or maintains a linked list of requested type. Using callback functions
+ * and custom data, it could be used for arbitrary purpose.
  *
  * The code here just processes the netlink stream. To do something useful,
  * callback for a selected message type has to be defined.
@@ -149,7 +149,7 @@ static int process_addr(struct ul_nl_data *nl, struct nlmsghdr *nh)
        len = nh->nlmsg_len - NLMSG_LENGTH(sizeof(*ifaddr));
        for (attr = IFA_RTA(ifaddr); RTA_OK(attr, len);
             attr = RTA_NEXT(attr, len)) {
-               /* Proces most common rta attributes */
+               /* Process most common rta attributes */
                DBG(ADDR, ul_debugobj(attr, "processing rtattr"));
                switch (attr->rta_type) {
                case IFA_ADDRESS:
index 5a5abe404cc03929de5f8f8f755238c510908245..257e33555688f3e6c55fc6270d69f4d7dc4a1d41 100644 (file)
@@ -1469,7 +1469,7 @@ int main(int argc, char *argv[])
 
        } else if  (argc == 4 && strcmp(argv[1], "--stralnumcmp") == 0) {
                printf("%s\n", ul_stralnumcmp(argv[2], argv[3]) == 0 ?
-                               "match" : "dismatch");
+                               "match" : "mismatch");
                return EXIT_SUCCESS;
 
        } else if (argc == 4 && strcmp(argv[1], "--cstrcasecmp") == 0) {
index 9cbda6012a155822178683abf1fa7a843e374093..0282dce06c44a383abf00a4c4ec1336abbbd7534 100644 (file)
@@ -40,7 +40,7 @@ typedef enum pool_state {
 
 struct nvs_header_t {
        char      nvh_encoding;         /* encoding method */
-       char      nvh_endian;           /* endianess */
+       char      nvh_endian;           /* endianness */
        char      nvh_reserved1;
        char      nvh_reserved2;
        uint32_t  nvh_reserved3;
@@ -317,7 +317,7 @@ static int probe_zfs(blkid_probe pr,
 
                /*
                 * Label supports XDR encoding, reject for any other unsupported format. Also
-                * endianess can be 0 or 1, reject garbage value. Moreover, check if first
+                * endianness can be 0 or 1, reject garbage value. Moreover, check if first
                 * nvpair encode size is non-zero.
                 */
                if (!label || label->nvh_encoding != 0x1 || !be32_to_cpu(label->nvh_first_size) ||
@@ -339,7 +339,7 @@ static int probe_zfs(blkid_probe pr,
        (void) zfs_extract_guid_name(pr, label, VDEV_PHYS_SIZE, false);
 
        /*
-        * Zero out whole nvlist header including fisrt nvpair size
+        * Zero out whole nvlist header including first nvpair size
         */
        if (blkid_probe_set_magic(pr, offset, sizeof(struct nvs_header_t),
            (unsigned char *) label))
index fd2961f84fd3a89312098d58500acb330bb15a9c..2283bc61384f327fe72f7516d47426da314cc04d 100644 (file)
@@ -66,7 +66,7 @@ int main(int argc, char *argv[])
         mnt_fs_get_root(fs);
         mnt_fs_print_debug(fs, stdout);
 
-       /* read all mising data */
+       /* read all missing data */
        mnt_fs_fetch_statmount(fs, 0);
        mnt_fs_print_debug(fs, stdout);
 
index e6a0fa1e2859022ec179fe9da1cdf4b56a07b060..a9b7380223a30f27be98939df348c6154f02fbea 100644 (file)
@@ -743,7 +743,7 @@ int mnt_fs_is_attached(struct libmnt_fs *fs)
  * The move/attach/detach status depends on how @fs has been used by the library.  
  * The status is not set when working with fstab, etc.
  *
- * Returns: 1 if the filesystem has been dettached.
+ * Returns: 1 if the filesystem has been detached.
  */
 int mnt_fs_is_detached(struct libmnt_fs *fs)
 {
@@ -1540,7 +1540,7 @@ int mnt_fs_get_parent_id(struct libmnt_fs *fs)
  *
  * This ID is provided by statmount() since Linux kernel since v6.8.
  *
- * Returns: parent mount ID or 0 if not avalable
+ * Returns: parent mount ID or 0 if not available
  */
 uint64_t mnt_fs_get_parent_uniq_id(struct libmnt_fs *fs)
 {
@@ -1558,7 +1558,7 @@ uint64_t mnt_fs_get_parent_uniq_id(struct libmnt_fs *fs)
  *
  * This ID is provided by statmount() since Linux kernel since v6.10
  *
- * Returns: parent namespace ID or 0 if not avalable.
+ * Returns: parent namespace ID or 0 if not available.
  *
  * Since: 2.41
  */
@@ -1579,7 +1579,7 @@ uint64_t mnt_fs_get_ns(struct libmnt_fs *fs)
  *
  * Returns: 0 or <0 in case of error.
  *
- * Sinse: 2.41
+ * Since: 2.41
  */
 int mnt_fs_set_ns(struct libmnt_fs *fs, uint64_t id)
 {
index 612580d7a3ce3111dc6204a0860ae8efcdfbb3c0..599ee8c521fad4ffaf9606a8be4a679b1d636769 100644 (file)
@@ -89,7 +89,7 @@ void mnt_unref_statmnt(struct libmnt_statmnt *sm)
  * @sm: statmount setting
  * @mask: default mask for statmount() or 0
  *
- * Returns: 0 on succees or  or <0 on error.
+ * Returns: 0 on success or  or <0 on error.
  */
 int mnt_statmnt_set_mask(struct libmnt_statmnt *sm, uint64_t mask)
 {
index 801eeaddd11afa3963b9f05738581eedc944ff12..95ea55f8713f69cb0a51279b313f397723f53045 100644 (file)
@@ -558,7 +558,7 @@ static int setup_veritydev( struct libmnt_context *cxt,
                        /*
                         * Ensure that, if signatures are supported, we only reuse the device if the previous mount
                         * used the same settings, so that a previous unsigned mount will not be reused if the user
-                        * asks to use signing for the new one, and viceversa.
+                        * asks to use signing for the new one, and vice-versa.
                         */
 #ifdef HAVE_CRYPT_ACTIVATE_BY_SIGNED_KEY
                        if (!!hash_sig != !!(crypt_params.flags & CRYPT_VERITY_ROOT_HASH_SIGNATURE)) {
index e9e6e64f6648a5489408b89a84229aec5dd5d01a..5f728ad2b9dce8d2b0973b88577c2fea0892a76e 100644 (file)
@@ -15,7 +15,7 @@
 #include "monitor.h"
 
 /*
- * The fanotify info header is suppported since kernel v5.1 (commit 5e469c830fdb5).
+ * The fanotify info header is supported since kernel v5.1 (commit 5e469c830fdb5).
  *
  * We do not provide fallback for so old systems. There is fallback only for
  * missing "struct fanotify_event_info_mnt" (since v6.15, commit 0f46d81f2bce9).
@@ -239,7 +239,7 @@ static const struct monitor_opers fanotify_opers = {
  * mnt_monitor_enable_fanotify:
  * @mn: monitor
  * @enable: 0 or 1
- * @ns: namespace file descritor (use -1 for default /proc/self/ns/mnt)
+ * @ns: namespace file descriptor (use -1 for default /proc/self/ns/mnt)
  *
  * Enables or disables kernel VFS monitoring based on fanotify (since Linux
  * 6.15). This monitor can return mount IDs of changed mount points. It's also
index 2e57b38d7910da17912fb2ed9e6fb12989d1b500..33249d1144adb8493ae62c56aa905658043f6133 100644 (file)
@@ -202,7 +202,7 @@ static int userspace_process_event(struct libmnt_monitor *mn,
                                status = 0;
                        else {
                                if (e->mask & IN_DELETE_SELF) {
-                                       DBG(MONITOR, ul_debugobj(mn, " reseting watch"));
+                                       DBG(MONITOR, ul_debugobj(mn, " resetting watch"));
                                        userspace_free_data(me);
                                }
 
index 1d32c2dd6ea7347dfd613eff086242189806832b..5bb32c6a8cf29ac3f6d157690205973012d7c2a3 100644 (file)
@@ -143,7 +143,7 @@ int mnt_optlist_register_map(struct libmnt_optlist *ls, const struct libmnt_optm
        if (ls->nmaps + 1 >= MNT_OL_MAXMAPS)
                return -ERANGE;
 
-       DBG(OPTLIST, ul_debugobj(ls, "registr map %p", map));
+       DBG(OPTLIST, ul_debugobj(ls, "register map %p", map));
        ls->maps[ls->nmaps++] = map;
        return 0;
 }
index 9a8033c2562cdd014f04286ab7e1e2cdf309f1e0..0d2b0ecd40622669f9c98627dc961473dcdb3d2b 100644 (file)
@@ -704,7 +704,7 @@ int mnt_table_get_root_fs(struct libmnt_table *tb, struct libmnt_fs **root)
  * @chld: NULL or returns the next child filesystem
  *
  * Since version 2.40, the filesystems are returned in the order specified by
- * @itr. In the old versions the derection is always MNT_ITER_FORWARD.
+ * @itr. In the old versions the direction is always MNT_ITER_FORWARD.
  *
  * Returns: 0 on success, negative number in case of error or 1 at the end of list.
  */
index b3aa40aca5eb0943243e3d6ba4bfecf9c8422733..bf60d521a631d1acd014e0b68e340573c4d0a253 100644 (file)
@@ -142,7 +142,7 @@ static int table_init_listmount(struct libmnt_table *tb, size_t stepsiz)
  * listmount() syscall. The default is to read all filesystems; use
  * statx(STATX_MNT_ID_UNIQUE) for subdirectory.
  *
- * Returns: 0 on sucess, < 0 on error
+ * Returns: 0 on success, < 0 on error
  * Since: 2.41
  */
 int mnt_table_listmount_set_id(struct libmnt_table *tb, uint64_t id)
@@ -164,7 +164,7 @@ int mnt_table_listmount_set_id(struct libmnt_table *tb, uint64_t id)
  *
  * Set namespace ID for listmount().
  *
- * Returns: 0 on sucess, < 0 on error
+ * Returns: 0 on success, < 0 on error
  * Since: 2.41
  */
 int mnt_table_listmount_set_ns(struct libmnt_table *tb, uint64_t ns)
@@ -184,7 +184,7 @@ int mnt_table_listmount_set_ns(struct libmnt_table *tb, uint64_t ns)
  * @tb: mount table
  * @sz: number of nodes read by one libmount() call
  *
- * Returns: 0 on sucess, < 0 on error
+ * Returns: 0 on success, < 0 on error
  * Since: 2.41
  */
 int mnt_table_listmount_set_stepsiz(struct libmnt_table *tb, size_t sz)
index 1f836ca1c9940040f40341dfc80366a301e1b306..90b19c9a96f3d8de4c623bdb2184b075bb00d4e7 100644 (file)
@@ -642,7 +642,7 @@ static int uuid_generate_time_generic(uuid_t out)
                /*
                 * num + OP_BULK provides a local cache in each application.
                 * Start with a small cache size to cover short running applications
-                * and adjust the cache size over the runntime.
+                * and adjust the cache size over the runtime.
                 */
                if ((uuidd_cache.last_used == uuidd_cache.cache_size) && (uuidd_cache.cache_size < CS_MAX))
                        uuidd_cache.cache_size *= CS_FACTOR;
index 9b0d040085f98f24c085f9c9ecaf8d8675fa4d8e..d51fca09ebe60ec72740fc0ebde902aecb775370 100644 (file)
@@ -146,7 +146,7 @@ struct su_context {
 #ifdef USE_PTY
        struct ul_pty   *pty;                   /* pseudo terminal handler (for --pty) */
 #endif
-       bool            runuser,                /* flase=su, true=runuser */
+       bool            runuser,                /* false=su, true=runuser */
                        runuser_uopt,           /* runuser -u specified */
                        isterm,                 /* is stdin terminal? */
                        fast_startup,           /* pass the `-f' option to the subshell. */
index eba234455431d4c1ea9aa24ed479b5be76a5755e..95b74efebebbde9eb98842723b56088b1db8006d 100644 (file)
@@ -445,7 +445,7 @@ static void __attribute__((__noreturn__)) usage(void)
        fputs(_("     --output-all      output all columns\n"), out);
        fputs(_(" -r, --raw             use raw output format\n"), out);
        fputs(_(" -R, --recursive       recursively check all files in directories\n"), out);
-       fputs(_(" -C, --cachestat       force useage of cachestat syscall\n"), out);
+       fputs(_(" -C, --cachestat       force usage of cachestat syscall\n"), out);
 
        fputs(USAGE_SEPARATOR, out);
        fprintf(out, USAGE_HELP_OPTIONS(23));
index f1526bcad397e1ef2687dbd0c15a010ddb298225..afc40ebeb55b18cc45c39f747eb645c3caa111b4 100644 (file)
@@ -953,7 +953,7 @@ static int has_line(struct libscols_table *table, struct libmnt_fs *fs)
        return rc;
 }
 
-/* reads filesystems from @tb (libmount) and fillin @table (output table) */
+/* reads filesystems from @tb (libmount) and fillin @table (output table) */
 static int create_treenode(struct libscols_table *table, struct libmnt_table *tb,
                           struct libmnt_fs *fs, struct libscols_line *parent_line, struct findmnt *findmnt)
 {
index b2a61ddd5e12b613a73ed485320706ad34d3b4b1..3d2bc21a6a3b390f7d566a75fbc2f432e97caec6 100644 (file)
@@ -1409,7 +1409,7 @@ static void device_to_scols(
                DBG(DEV, ul_debugobj(dev, "%s <- child done", dev->name));
        }
 
-       /* apply highligther */
+       /* apply highlighter */
        if (ln && lsblk->hlighter) {
                int status = 0;
 
index 16d3ccd2509d797284057d7fa3dc201ba534c231..d91e5f661d69a47582e2ce85f9b722b6d400ebe1 100644 (file)
@@ -966,7 +966,7 @@ int main(int argc, char **argv)
                if (zram_lock(zram, LOCK_EX))
                        err(EXIT_FAILURE, _("%s: failed to lock"), zram->devname);
 
-               /* Writting 'reset' attribute is refused by the kernel when the device node is opened.
+               /* Writing 'reset' attribute is refused by the kernel when the device node is opened.
                 * Hence, we cannot keep the lock, unfortunately. */
                zram_unlock(zram);
 
index d8c64282336c54884868c9d4e1dc3cdeca3c5f98..02f86502ab82a394e8fb30a6767d148cddffd651 100644 (file)
@@ -490,7 +490,7 @@ int main(int argc, char **argv)
        } else {                                /* regular (auto)login */
                if ((options.flags & F_NOHOSTNAME) == 0 &&
                    getlogindefs_bool("LOGIN_PLAIN_PROMPT", 0) == 1)
-                       /* /etc/login.defs enbles --nohostname too */
+                       /* /etc/login.defs enables --nohostname too */
                        options.flags |= F_NOHOSTNAME;
 
                if (options.autolog) {
@@ -1881,7 +1881,7 @@ static void eval_issue_file(struct issue *ie,
 /* TODO:
  * Two pass processing for eval_issue_file()
  * Implement pass 1: Just evaluate list of netlink_groups (IP protocols) and
- * intefaces to monitor.
+ * interfaces to monitor.
  * That is why again label is here: netlink_groups will be re-evaluated and
  * dump will be performed again.
  */
@@ -1943,7 +1943,7 @@ skip:
        struct list_head *current = NULL;
        char *name = NULL;
 
-       /* Reading all issue files and concatinating all contents to one content.
+       /* Reading all issue files and concatenating all contents to one content.
         * The ordering rules are defineded in:
         * https://github.com/uapi-group/specifications/blob/main/specs/configuration_files_specification.md
         *
index d1c03511fededb5230b500a482292a09d1a7afac..d398be1902309b255c611d2d0525dcc84fab7dbb 100644 (file)
@@ -1 +1 @@
-the string meets expecations
+the string meets expectations
index b3be3d637820c8b0fa7e4dc16aadf4ed2ff0d60e..027f5aaae9809b60aca7532d23526367d445c912 100644 (file)
@@ -130,7 +130,7 @@ enum ptype {
 struct ptype_class {
        const char *name;
 
-       /* Covert to a string representation.
+       /* Convert to a string representation.
         * A caller must free the returned value with free(3) after using. */
        char *(*sprint)(const union value *value);
 
@@ -364,7 +364,7 @@ static void reserve_fd(int fd)
        (void)close(fd);
        if (dup2(0, fd) < 0)
                errx(EXIT_FAILURE,
-                    "faild to reserve fd with dup2(%d, %d)", 0, fd);
+                    "failed to reserve fd with dup2(%d, %d)", 0, fd);
 }
 
 static void *nop(const struct factory *factory _U_, struct fdesc fdescs[] _U_,
@@ -1233,9 +1233,9 @@ static void *make_unix_stream_core(const struct factory *factory, struct fdesc f
        free_arg(&path);
 
        if (iserver_shutdown < 0 || iserver_shutdown > 3)
-               errx(EXIT_FAILURE, "the server shudown specification in unexpected range");
+               errx(EXIT_FAILURE, "the server shutdown specification in unexpected range");
        if (iclient_shutdown < 0 || iclient_shutdown > 3)
-               errx(EXIT_FAILURE, "the client shudown specification in unexpected range");
+               errx(EXIT_FAILURE, "the client shutdown specification in unexpected range");
 
        ssd = socket(AF_UNIX, type, 0);
        if (ssd < 0)
index 2cd367b44d8cbcbe731cb76d7987154a25370724..79fd929be607aa09abd123bd72a1415da23d4a57 100644 (file)
@@ -65,7 +65,7 @@ static void *xcalloc(const size_t nelems, const size_t size)
        return ret;
 }
 
-/* sigemptyset may not be defiend and/or declared in asm/signal.h */
+/* sigemptyset may not be defined and/or declared in asm/signal.h */
 static void clear_sigset(sigset_t *sigset)
 {
        memset(sigset, 0, sizeof(*sigset));
index ace98ecfd191c7d5b4806cd8f2b5a15887484b5a..12457efbb0c26a939b42f8b33e75dd9b45c3df1c 100755 (executable)
@@ -100,7 +100,7 @@ ACK=
     if read -u ${SIGSTATE[0]} PID; then
        "$TS_CMD_KILL" -USR1 "$PID"
        if read -u ${SIGSTATE[0]} ACK; then
-           # The taget process is in its signal handler for USR1.
+           # The target process is in its signal handler for USR1.
            # Sending one more USR1 is for making the signal pending state.
            "$TS_CMD_KILL" -USR1 "$PID"
            "$TS_CMD_KILL" -d "$PID" | {
index 926f62d91bffebce28ec857b4d1173723fbc84bc..5c5a39ce7caf59c4ec862f940ea84de8f5c4ba70 100755 (executable)
@@ -35,7 +35,7 @@ for dump in $(ls $TS_SELF/dumps/*.tar.xz | sort); do
 
        #
        # Read *.cols from the tarball, but the expected output is not used
-       # from the tarball due to changes in lsblk fomatting etc. We keep up to
+       # from the tarball due to changes in lsblk formatting etc. We keep up to
        # date version in tests/expected/lsblk.
        #
        for cols_file in $(ls $dumpdir/$name/*.cols | sort); do
index 1079167fb14ccdda77ef1d4c642f4a26e0ad692c..5848f18bd49a1dc7cdbf69f1af1fac332b62e0da 100755 (executable)
@@ -21,7 +21,7 @@ TS_DESC="tun device and interface behind the device"
 ts_init "$*"
 ts_skip_nonroot
 
-[[ -e /dev/net/tun ]] || ts_skip "/dev/net/tun doest not exist"
+[[ -e /dev/net/tun ]] || ts_skip "/dev/net/tun does not exist"
 
 ts_check_test_command "$TS_CMD_LSFD"
 ts_check_test_command "$TS_HELPER_MKFDS"
index a8c54f37a719514a94f9802bbdfa92a7afe319ee..2d91925e5bf20ae94d08cc7ff60f1334d169b878 100755 (executable)
@@ -23,6 +23,6 @@ ts_check_test_command "$TS_CMD_MCOOKIE"
 $TS_CMD_MCOOKIE -f /etc/services |
        # The sed will convert only 32 characters long hexadecimal string
        # to expected string, but nothing else.
-       sed 's/^[0-9a-f]\{32\}$/the string meets expecations/' >> $TS_OUTPUT 2>> $TS_ERRLOG
+       sed 's/^[0-9a-f]\{32\}$/the string meets expectations/' >> $TS_OUTPUT 2>> $TS_ERRLOG
 
 ts_finalize
index 4d4c450bb2239a4a1728589b6e712fdfd55dc142..36e1a9ca12dae66975388378356672cabc11a95c 100755 (executable)
@@ -16,7 +16,7 @@ ts_check_test_command "$TS_CMD_CORESCHED"
 ts_check_prog "tee"
 ts_check_prog "sed"
 
-# If coresched cannot succesfully run, skip the test suite
+# If coresched cannot successfully run, skip the test suite
 CORESCHED_TEST_KERNEL_SUPPORT_CMD=$($TS_CMD_CORESCHED 2>&1)
 if [[ $CORESCHED_TEST_KERNEL_SUPPORT_CMD == *"CONFIG_SCHED_CORE"* ]]; then
   ts_skip "Kernel has no CONFIG_SCHED_CORE support or SMT is not available"
index 7ed1bd398f866ccdcbe11c680e6cafbae2b04294..9736a52a5c15c61cf16c6fd27f933f32aeab531e 100755 (executable)
@@ -94,7 +94,7 @@ function save_modified_files {
 
        if [ $new_rev -gt $old_rev ]; then
                if [ "$DRYRUN" = "true" ]; then
-                       echo " updated (ingore, dry-run)"
+                       echo " updated (ignore, dry-run)"
                else
                        echo " updated"
                        git_commit $POFILE "$PODIR: update $POFILENAME (from translationproject.org)"