/*
* @lc: context
*
- * Returns (allocated) string with path to the file assicieted
+ * Returns (allocated) string with path to the file associated
* with the current loop device.
*/
char *loopcxt_get_backing_file(struct loopdev_cxt *lc)
break;
} else if (errno == EAGAIN && lose_counter < UL_RAND_READ_ATTEMPTS) {
- xusleep(UL_RAND_READ_DELAY); /* no etropy, wait and try again */
+ xusleep(UL_RAND_READ_DELAY); /* no entropy, wait and try again */
lose_counter++;
} else
break;
#define BLKID_FL_TINY_DEV (1 << 2) /* <= 1.47MiB (floppy or so) */
#define BLKID_FL_CDROM_DEV (1 << 3) /* is a CD/DVD drive */
#define BLKID_FL_NOSCAN_DEV (1 << 4) /* do not scan this device */
-#define BLKID_FL_MODIF_BUFF (1 << 5) /* cached bufferes has been modified */
+#define BLKID_FL_MODIF_BUFF (1 << 5) /* cached buffers has been modified */
/* private per-probing flags */
#define BLKID_PROBE_FL_IGNORE_PT (1 << 1) /* ignore partition table */
* blkid_probe_reset_buffers:
* @pr: prober
*
- * libblkid reuse all already read buffers from the device. The bufferes may be
+ * libblkid reuse all already read buffers from the device. The buffers may be
* modified by blkid_probe_hide_range(). This function reset and free all
- * cached bufferes. The next blkid_do_probe() will read all data from the
+ * cached buffers. The next blkid_do_probe() will read all data from the
* device.
*
* Returns: <0 in case of failure, or 0 on success.
* according to the current libblkid probing result.
*
* Note that blkid_probe_hide_range() changes semantic of this function and
- * cached bufferes are not reset, but library uses in-memory modified
+ * cached buffers are not reset, but library uses in-memory modified
* buffers to call the next probing function.
*
* <example>
* terminated by the first sector which is not a valid
* descriptor.
* UDF-2.60 2.1.7: UDF 2.00 and lower revisions do not
- * have requirement that NSR descritor is in Extended Area
+ * have requirement that NSR descriptor is in Extended Area
* (between BEA01 and TEA01) and that there is only one
* Extended Area. So do not stop scanning after TEA01. */
break;
* partition table. The BLKPG_* ioctls are used for individual partitions. The
* advantage is that unmodified partitions maybe mounted.
*
- * The function behavies like fdisk_reread_partition_table() on systems where
+ * The function behaves like fdisk_reread_partition_table() on systems where
* are no available BLKPG_* ioctls.
*
* Returns: <0 on error, or 0.
sizeof(struct gpt_entry);
if (nents == 0 || esz == 0 || SIZE_MAX/esz < nents) {
- DBG(GPT, ul_debug("entreis array size check failed"));
+ DBG(GPT, ul_debug("entries array size check failed"));
return -ERANGE;
}
* If @pa is not specified or any @pa item is missing the libfdisk will ask by
* fdisk_ask_ API.
*
- * The @pa template is is important for non-interactive partitioning,
+ * The @pa template is important for non-interactive partitioning,
* especially for MBR where is necessary to differentiate between
* primary/logical; this is done by start offset or/and partno.
* The rules for MBR:
* @cxt: mount context
* @optstr: comma delimited mount options
*
- * Note that that MS_MOVE cannot be specified as "string". It's operation that
+ * Note that MS_MOVE cannot be specified as "string". It's operation that
* is no supported in fstab (etc.)
*
* Returns: 0 on success, negative number in case of error.
* @pos is NULL than add the begin of the @tab if @before is 1; or to the tail
* of the @tb if @before is 0.
*
- * This function inncrements reference to @fs. Don't forget to use
+ * This function increments reference to @fs. Don't forget to use
* mnt_unref_fs() after mnt_table_insert_fs() if you want to keep the @fs
* referenced by the table only.
*
}
/*
- * apply new @state to the chunk (addresesd by @xx) of grpset used for the group (@gr)
+ * apply new @state to the chunk (addressed by @xx) of grpset used for the group (@gr)
*/
static void grpset_apply_group_state(struct libscols_group **xx, int state, struct libscols_group *gr)
{
colors_wanted :1, /* enable colors */
is_term :1, /* isatty() */
padding_debug :1, /* output visible padding chars */
- is_dummy_print :1, /* printing used for width calcualion only */
+ is_dummy_print :1, /* printing used for width calculation only */
maxout :1, /* maximize output */
minout :1, /* minimize output (mutually exclusive to maxout) */
header_repeat :1, /* print header after libscols_table->termheight */
.RI [ user " [" argument "...]]"
.SH DESCRIPTION
.B runuser
-can be used to to run commands with a substitute user and group ID.
+can be used to run commands with a substitute user and group ID.
If the option \fB\-u\fR is not given, it falls back to
.BR su -compatible
semantics and a shell is executed.
struct console *restrict tail;
const struct console *last = NULL;
- DBG(dbgprint("appenging %s", name));
+ DBG(dbgprint("appending %s", name));
if (!list_empty(consoles))
last = list_last_entry(consoles, struct console, entry);
err(EXIT_FAILURE, _("%s: %s ioctl failed"),
ctl->devname, ctl->command->ioctl_name);
else if (ctl->verbose)
- printf(_("%s: successfull %s of zones in range from %" PRIu64 ", to %" PRIu64),
+ printf(_("%s: successful %s of zones in range from %" PRIu64 ", to %" PRIu64),
ctl->devname,
ctl->command->name,
ctl->offset,
else if (strcasecmp(name, "NAME") == 0)
out->sort_cmp_func = cmp_name;
else
- errx(EXIT_FAILURE, _("unssupported column name to sort output"));
+ errx(EXIT_FAILURE, _("unsupported column name to sort output"));
}
void set_sort_func_by_key(struct irq_output *out, char c)
char *mtid; /* maximum thread id (s390) */
char *addrsz; /* address sizes */
int dispatching; /* none, horizontal or vertical */
- int freqboost; /* -1 if not evailable */
+ int freqboost; /* -1 if not available */
int mode; /* rm, lm or/and tm */
int ncpuspos; /* maximal possible CPUs */
ospeed = cfgetospeed(tp);
/* Save also the original speed to array of the speeds to make
- * it possible to return the the original after unexpected BREAKs.
+ * it possible to return the original after unexpected BREAKs.
*/
if (op->numspeed)
op->speeds[op->numspeed++] = ispeed ? ispeed :
char type; /* 'I'nput, 'O'utput, ... */
size_t size;
- char *name; /* signals / heders */
+ char *name; /* signals / headers */
char *value;
struct timeval delay;
rc = -ENOMEM;
else {
log->noseek = 1;
- DBG(LOG, ul_debug("accociate file '%s' for streams 'SH'", filename));
+ DBG(LOG, ul_debug("associate file '%s' for streams 'SH'", filename));
}
}
if (rc == 0)
replay_new_log(stp, streams, filename, f);
- DBG(LOG, ul_debug("accociate log file '%s', streams '%s' [rc=%d]", filename, streams, rc));
+ DBG(LOG, ul_debug("associate log file '%s', streams '%s' [rc=%d]", filename, streams, rc));
return rc;
}