From: Yuri Chornoivan Date: Mon, 13 Jul 2020 12:33:42 +0000 (+0300) Subject: More typo fixes by fossies X-Git-Tag: v2.36~57 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aa1c7a7686eac43739564075a29987d5c65ce7ac;p=thirdparty%2Futil-linux.git More typo fixes by fossies --- diff --git a/libfdisk/src/gpt.c b/libfdisk/src/gpt.c index 370bd4097e..66520c51db 100644 --- a/libfdisk/src/gpt.c +++ b/libfdisk/src/gpt.c @@ -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 */ diff --git a/libmount/src/context.c b/libmount/src/context.c index f9e745225a..7d4370d354 100644 --- a/libmount/src/context.c +++ b/libmount/src/context.c @@ -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. */ diff --git a/libmount/src/context_umount.c b/libmount/src/context_umount.c index c33c0964f0..f33b626444 100644 --- a/libmount/src/context_umount.c +++ b/libmount/src/context_umount.c @@ -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) diff --git a/libmount/src/tab_parse.c b/libmount/src/tab_parse.c index e3f30c291f..4696053a11 100644 --- a/libmount/src/tab_parse.c +++ b/libmount/src/tab_parse.c @@ -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 */ diff --git a/sys-utils/dmesg.c b/sys-utils/dmesg.c index c78f01ca87..c8ac3c1b8c 100644 --- a/sys-utils/dmesg.c +++ b/sys-utils/dmesg.c @@ -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_* */ diff --git a/sys-utils/mount.8 b/sys-utils/mount.8 index 190335c239..f27a98b5eb 100644 --- a/sys-utils/mount.8 +++ b/sys-utils/mount.8 @@ -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 .BR lsblk (1), .BR mount (2), .BR umount (2), -.BR fileystems (5), +.BR filesystems (5), .BR fstab (5), .BR nfs (5), .BR xfs (5),