misc: fix typos [codespell]

Signed-off-by: Samanta Navarro <ferivoz@riseup.net>
This commit is contained in:
Samanta Navarro 2020-11-04 11:30:00 +00:00
parent ebb5ca72f4
commit cb77628876
14 changed files with 20 additions and 20 deletions

View File

@ -2289,7 +2289,7 @@ AS_IF([test "x$with_econf" != xno], [
AM_CONDITIONAL([HAVE_ECONF], [test "x$have_econf" = xyes])
AC_ARG_WITH([vendordir],
AS_HELP_STRING([--with-vendordir=DIR], [Direcotry for distribution provided configuration files]),
AS_HELP_STRING([--with-vendordir=DIR], [Directory for distribution provided configuration files]),
[], []
)
AC_SUBST([vendordir], [$with_vendordir])

View File

@ -361,7 +361,7 @@ char *next_proc_partition(FILE **f)
}
int print_device_pt(struct fdisk_context *cxt, char *device, int warnme,
int verify, int seperator)
int verify, int separator)
{
if (fdisk_assign_device(cxt, device, 1) != 0) { /* read-only */
if (warnme || errno == EACCES)
@ -369,7 +369,7 @@ int print_device_pt(struct fdisk_context *cxt, char *device, int warnme,
return -1;
}
if (seperator)
if (separator)
fputs("\n\n", stdout);
list_disk_geometry(cxt);
@ -384,7 +384,7 @@ int print_device_pt(struct fdisk_context *cxt, char *device, int warnme,
}
int print_device_freespace(struct fdisk_context *cxt, char *device, int warnme,
int seperator)
int separator)
{
if (fdisk_assign_device(cxt, device, 1) != 0) { /* read-only */
if (warnme || errno == EACCES)
@ -392,7 +392,7 @@ int print_device_freespace(struct fdisk_context *cxt, char *device, int warnme,
return -1;
}
if (seperator)
if (separator)
fputs("\n\n", stdout);
list_freespace(cxt);

View File

@ -7,8 +7,8 @@ extern void list_disk_geometry(struct fdisk_context *cxt);
extern void list_freespace(struct fdisk_context *cxt);
extern char *next_proc_partition(FILE **f);
extern int print_device_pt(struct fdisk_context *cxt, char *device, int warnme, int verify, int seperator);
extern int print_device_freespace(struct fdisk_context *cxt, char *device, int warnme, int seperator);
extern int print_device_pt(struct fdisk_context *cxt, char *device, int warnme, int verify, int separator);
extern int print_device_freespace(struct fdisk_context *cxt, char *device, int warnme, int separator);
extern void print_all_devices_pt(struct fdisk_context *cxt, int verify);
extern void print_all_devices_freespace(struct fdisk_context *cxt);

View File

@ -1,5 +1,5 @@
/*
* environ[] array cleanup code and getenv() wappers
* environ[] array cleanup code and getenv() wrappers
*
* No copyright is claimed. This code is in the public domain; do with
* it what you wish.
@ -56,7 +56,7 @@ struct ul_env_list {
};
/*
* Saves @name env.varable to @ls, returns pointer to the new head of the list.
* Saves @name env.variable to @ls, returns pointer to the new head of the list.
*/
static struct ul_env_list *env_list_add(struct ul_env_list *ls0, const char *str)
{

View File

@ -480,11 +480,11 @@ sysfs_probe_all(blkid_cache cache, int only_if_new, int only_removable)
if (ul_path_read_u32(pc, &removable, "removable") != 0)
removable = 0;
/* ingnore empty devices */
/* ignore empty devices */
if (!size)
goto next;
/* accept removeable if only removable requested */
/* accept removable if only removable requested */
if (only_removable) {
if (!removable)
goto next;

View File

@ -51,7 +51,7 @@ Device Boot Start End Sectors Size Id Type
<removed>1 2048 4095 2048 1M 83 Linux
-------------------
Create 2st primary partition
Create 2nd primary partition
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001b0 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 20 |............... |

View File

@ -51,7 +51,7 @@ Device Boot Start End Sectors Size Id Type
<removed>1 2048 4095 2048 1M 83 Linux
-------------------
Create 2st primary partition
Create 2nd primary partition
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001b0 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 20 |............... |

View File

@ -51,7 +51,7 @@ Device Boot Start End Sectors Size Id Type
<removed>1 2048 4095 2048 1M 83 Linux
-------------------
Create 2st primary partition
Create 2nd primary partition
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001b0 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 20 |............... |

View File

@ -51,7 +51,7 @@ Device Boot Start End Sectors Size Id Type
<removed>1 2048 4095 2048 1M 83 Linux
-------------------
Create 2st primary partition
Create 2nd primary partition
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001b0 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 20 |............... |

View File

@ -51,7 +51,7 @@ Device Boot Start End Sectors Size Id Type
<removed>1 2048 4095 2048 1M 83 Linux
-------------------
Create 2st primary partition
Create 2nd primary partition
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001b0 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 20 |............... |

View File

@ -102,7 +102,7 @@ SO
SI(B
underline
flush
afer flush
after flush
normaldim(B
normaldimunderlined
normal

View File

@ -105,7 +105,7 @@ $TS_CMD_HEXDUMP -C ${TEST_IMAGE_NAME} >> $TS_OUTPUT 2>> $TS_ERRLOG
print_layout
ts_log "Create 2st primary partition"
ts_log "Create 2nd primary partition"
echo -e "${FDISK_CMD_CREATE_PRIMARY2}${FDISK_CMD_WRITE_CLOSE}" | \
$TS_CMD_FDISK ${TEST_IMAGE_NAME} &> /dev/null
$TS_CMD_HEXDUMP -C ${TEST_IMAGE_NAME} >> $TS_OUTPUT 2>> $TS_ERRLOG

View File

@ -4,7 +4,7 @@ R S
SO
SI
u_n_d_e_r_line
flush afer flush
flush after flush
normal9dim
normal8dimunderlined
normal7reverse

View File

@ -91,7 +91,7 @@ struct column_control {
wchar_t **ents; /* input entries */
size_t nents; /* number of entries */
size_t maxlength; /* longest input record (line) */
size_t maxncols; /* maximal numer of input columns */
size_t maxncols; /* maximal number of input columns */
unsigned int greedy :1,
json :1,