No functional change.
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
/*
* util-linux debug macros
*
- * The debug stuff is based on <name>_debug_mask that controls what outputs is
- * expected. The mask is usually initialized by <NAME>_DEBUG= env.variable
+ * The debug stuff is based on <name>_debug_mask that controls what output is
+ * expected. The mask is usually initialized by <NAME>_DEBUG= env.variable.
*
* After successful initialization the flag <PREFIX>_DEBUG_INIT is always set
* to the mask (this flag is required). The <PREFIX> is usually library API
- * prefix (e.g. MNT_) or program name (e.g. CFDISK_)
+ * prefix (e.g. MNT_) or program name (e.g. CFDISK_).
*
- * In the code is possible to use
+ * In the code it is possible to use
*
* DBG(FOO, ul_debug("this is output for foo"));
*
- * where for the FOO has to be defined <PREFIX>_DEBUG_FOO.
+ * where <PREFIX>_DEBUG_FOO has to be defined for FOO output.
*
* It's possible to initialize the mask by comma delimited strings with
- * subsystem names (e.g. "LIBMOUNT_DEBUG=options,tab"). In this case is
+ * subsystem names (e.g. "LIBMOUNT_DEBUG=options,tab"). In this case it is
* necessary to define mask names array. This functionality is optional.
*
* It's strongly recommended to use UL_* macros to define/declare/use
#include "timer.h"
/*
- * Note the timeout is used for the first signal, then the signal is send
+ * Note the timeout is used for the first signal, then the signal is sent
* repeatedly in interval ~1% of the original timeout to avoid race in signal
* handling -- for example you want to use timer to define timeout for a
* syscall:
* syscall()
* cancel_timer()
*
- * if the timeout is too short than it's possible that the signal is delivered
- * before application enter the syscall function. For this reason timer send
+ * if the timeout is too short then it's possible that the signal is delivered
+ * before application enters the syscall function. For this reason timer sends
* the signal repeatedly.
*
* The applications need to ensure that they can tolerate multiple signal
blkid_partlist_increment_partno(ls);
continue;
}
- /* the partition has to inside usable range */
+ /* the partition has to be inside usable range */
if (start < fu || start + size - 1 > lu) {
DBG(LOWPROBE, ul_debug(
"GPT entry[%d] overflows usable area - ignore",
if (ls->nparts + 1 > ls->nparts_max) {
/* Linux kernel has DISK_MAX_PARTS=256, but it's too much for
- * generic Linux machine -- let start with 32 partitions.
+ * generic Linux machine -- let's start with 32 partitions.
*/
void *tmp = reallocarray(ls->parts, ls->nparts_max + 32,
sizeof(struct blkid_struct_partition));
* rest of the partition has to be inaccessible for mkfs or mkswap
* programs, we need a small space for boot loaders only.
*
- * For some unknown reason this (safe) practice is not to used for
+ * For some unknown reason this (safe) practice is not used for
* nested BSD, Solaris, ..., partition tables in Linux kernel.
*
* Returns: size of the partition (in 512-sectors).
* mnt_fs_get_vfs_options_all:
* @fs: fstab/mtab entry pointer
*
- * Returns: pointer to newlly allocated string (can be freed by free(3)) or
+ * Returns: pointer to newly allocated string (can be freed by free(3)) or
* NULL in case of error. The string contains all (including defaults) mount
* options.
*/
int hasdev = loopcxt_has_device(lc);
int rc = 0, ntries = 0;
- /* losetup --find --noverlap file.img */
+ /* losetup --find --nooverlap file.img */
if (!hasdev && nooverlap) {
rc = loopcxt_find_overlap(lc, file, offset, sizelimit);
switch (rc) {
if (hasdev)
loopcxt_add_device(lc);
- /* losetup --noverlap /dev/loopN file.img */
+ /* losetup --nooverlap /dev/loopN file.img */
if (hasdev && nooverlap) {
struct loopdev_cxt lc2;