]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
More typo fixes by fossies
authorYuri Chornoivan <yurchor@ukr.net>
Mon, 13 Jul 2020 12:33:42 +0000 (15:33 +0300)
committerYuri Chornoivan <yurchor@ukr.net>
Mon, 13 Jul 2020 12:33:42 +0000 (15:33 +0300)
libfdisk/src/gpt.c
libmount/src/context.c
libmount/src/context_umount.c
libmount/src/tab_parse.c
sys-utils/dmesg.c
sys-utils/mount.8

index 370bd4097e81c21471c8007d8acc427248fdc621..66520c51db60846226f3461dbcc5c27d035c532f 100644 (file)
@@ -376,7 +376,7 @@ static inline size_t gpt_get_nentries(struct fdisk_gpt_label *gpt)
        return (size_t) le32_to_cpu(gpt->pheader->npartition_entries);
 }
 
-/* calculate size of entries array in bytes for specified nuber of entries */
+/* calculate size of entries array in bytes for specified number of entries */
 static inline int gpt_calculate_sizeof_entries(
                                struct gpt_header *hdr,
                                uint32_t nents, size_t *sz)
@@ -393,7 +393,7 @@ static inline int gpt_calculate_sizeof_entries(
        return 0;
 }
 
-/* calculate size of entries array in sectors for specified nuber of entries */
+/* calculate size of entries array in sectors for specified number of entries */
 static inline int gpt_calculate_sectorsof_entries(
                                struct gpt_header *hdr,
                                uint32_t nents, uint64_t *sz,
@@ -2070,7 +2070,7 @@ static int gpt_write_disklabel(struct fdisk_context *cxt)
        assert(cxt->label);
        assert(fdisk_is_label(cxt, GPT));
 
-       DBG(GPT, ul_debug("writting..."));
+       DBG(GPT, ul_debug("writing..."));
 
        gpt = self_label(cxt);
        mbr_type = valid_pmbr(cxt);
@@ -3185,7 +3185,7 @@ struct fdisk_label *fdisk_new_gpt_label(struct fdisk_context *cxt __attribute__
  * @disable: 0 or 1
  *
  * Disable automatic backup header relocation to the end of the device. The
- * header possition is recalculated during libfdisk probing stage by
+ * header position is recalculated during libfdisk probing stage by
  * fdisk_assign_device() and later written by fdisk_write_disklabel(), so you
  * need to call it before fdisk_assign_device().
  *
@@ -3205,7 +3205,7 @@ void fdisk_gpt_disable_relocation(struct fdisk_label *lb, int disable)
  * @enable: 0 or 1
  *
  * Force libfdisk to write backup header to behind last partition. The
- * header possition is recalculated on fdisk_write_disklabel().
+ * header position is recalculated on fdisk_write_disklabel().
  *
  * Since: 2.36
  */
index f9e745225a8c76677e250b0405f09d8e234559c7..7d4370d3548ceca9ad9ba129d29a47e3606d508e 100644 (file)
@@ -484,7 +484,7 @@ int mnt_context_force_unrestricted(struct libmnt_context *cxt)
  * - MNT_OMODE_AUTO is used if nothing else is defined
  * - the flags are evaluated in this order: MNT_OMODE_NOTAB, MNT_OMODE_FORCE,
  *   MNT_OMODE_FSTAB, MNT_OMODE_MTAB and then the mount options from fstab/mtab
- *   are set according to MNT_OMODE_{IGNORE,APPEND,PREPAND,REPLACE}
+ *   are set according to MNT_OMODE_{IGNORE,APPEND,PREPEND,REPLACE}
  *
  * Returns: 0 on success, negative number in case of error.
  */
index c33c0964f029a4e282eabfb23e2852930f00fb04..f33b626444d6eba37e45cb7ac4a81e4076ad61db 100644 (file)
@@ -193,7 +193,7 @@ int mnt_context_find_umount_fs(struct libmnt_context *cxt,
        if (!*tgt)
                return 1; /* empty string is not an error */
 
-       /* In future this function should be extened to support for example
+       /* In future this function should be extended to support for example
         * fsinfo() (or another cheap way kernel will support), for now the
         * default is expensive mountinfo/mtab.
         */
@@ -346,7 +346,7 @@ static int lookup_umount_fs_by_mountinfo(struct libmnt_context *cxt, const char
  * mnt_context_apply_fstab(), use mnt_context_tab_applied()
  * to check result.
  *
- * The goal is to mimimize situations wehn we need to parse
+ * The goal is to minimize situations when we need to parse
  * /proc/self/mountinfo.
  */
 static int lookup_umount_fs(struct libmnt_context *cxt)
index e3f30c291fc6bf24f0b3f5796c65f8dda0f73e93..4696053a116f5fe23ae4ca6f0febeb42d59b0a3b 100644 (file)
@@ -751,7 +751,7 @@ static int __table_parse_stream(struct libmnt_table *tb, FILE *f, const char *fi
                        }
                }
 
-               /* remove refernece (or deallocate on error) */
+               /* remove reference (or deallocate on error) */
                mnt_unref_fs(fs);
 
                /* recoverable error */
index c78f01ca8755c4378af9c24627b8827b52d23e49..c8ac3c1b8c9709f35d4f2e827bfba14a5458aa34 100644 (file)
@@ -169,7 +169,7 @@ struct dmesg_control {
        struct timeval  lasttime;       /* last printed timestamp */
        struct tm       lasttm;         /* last localtime */
        struct timeval  boot_time;      /* system boot time */
-       time_t          suspended_time; /* time spent in suspeneded state */
+       time_t          suspended_time; /* time spent in suspended state */
 
        int             action;         /* SYSLOG_ACTION_* */
        int             method;         /* DMESG_METHOD_* */
index 190335c239bf1cd7d5303bcfc4a93d52d5a2dd93..f27a98b5eb5b25714bc3e434ab2649fc6c502998 100644 (file)
@@ -1501,7 +1501,7 @@ All options follow the
 flag.
 .PP
 What options are supported depends a bit on the running kernel.
-Further information may be available in fileystem-specific
+Further information may be available in filesystem-specific
 files in the kernel source subdirectory
 .IR Documentation/filesystems .
 .\"
@@ -2871,7 +2871,7 @@ Karel Zak <kzak@redhat.com>
 .BR lsblk (1),
 .BR mount (2),
 .BR umount (2),
-.BR fileystems (5),
+.BR filesystems (5),
 .BR fstab (5),
 .BR nfs (5),
 .BR xfs (5),