More typo fixes by fossies
This commit is contained in:
parent
311e33afef
commit
aa1c7a7686
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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_* */
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue