From: Samanta Navarro Date: Wed, 4 Nov 2020 11:30:00 +0000 (+0000) Subject: misc: fix typos [codespell] X-Git-Tag: v2.37-rc1~399 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cb77628876254181d6727cc0f6ef16979031cbb0;p=thirdparty%2Futil-linux.git misc: fix typos [codespell] Signed-off-by: Samanta Navarro --- diff --git a/configure.ac b/configure.ac index 9d4785c95c..52d84cdd85 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) diff --git a/disk-utils/fdisk-list.c b/disk-utils/fdisk-list.c index 8cc1162819..62aa2b3f5c 100644 --- a/disk-utils/fdisk-list.c +++ b/disk-utils/fdisk-list.c @@ -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); diff --git a/disk-utils/fdisk-list.h b/disk-utils/fdisk-list.h index a31ab0a7e9..6c75528928 100644 --- a/disk-utils/fdisk-list.h +++ b/disk-utils/fdisk-list.h @@ -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); diff --git a/lib/env.c b/lib/env.c index 7f706f03da..ac481eea7e 100644 --- a/lib/env.c +++ b/lib/env.c @@ -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) { diff --git a/libblkid/src/devname.c b/libblkid/src/devname.c index 4b9df5a975..5582551316 100644 --- a/libblkid/src/devname.c +++ b/libblkid/src/devname.c @@ -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; diff --git a/tests/expected/fdisk/bsd_0_64.BE b/tests/expected/fdisk/bsd_0_64.BE index b502d0d667..6b5b44d9e9 100644 --- a/tests/expected/fdisk/bsd_0_64.BE +++ b/tests/expected/fdisk/bsd_0_64.BE @@ -51,7 +51,7 @@ Device Boot Start End Sectors Size Id Type 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 |............... | diff --git a/tests/expected/fdisk/bsd_0_64.LE b/tests/expected/fdisk/bsd_0_64.LE index 8b9897c249..3dbe623420 100644 --- a/tests/expected/fdisk/bsd_0_64.LE +++ b/tests/expected/fdisk/bsd_0_64.LE @@ -51,7 +51,7 @@ Device Boot Start End Sectors Size Id Type 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 |............... | diff --git a/tests/expected/fdisk/bsd_0_64_alpha.LE b/tests/expected/fdisk/bsd_0_64_alpha.LE index ae7dabda84..ab39149270 100644 --- a/tests/expected/fdisk/bsd_0_64_alpha.LE +++ b/tests/expected/fdisk/bsd_0_64_alpha.LE @@ -51,7 +51,7 @@ Device Boot Start End Sectors Size Id Type 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 |............... | diff --git a/tests/expected/fdisk/bsd_1_0.BE b/tests/expected/fdisk/bsd_1_0.BE index 56dd69bd8f..3092a9b9cd 100644 --- a/tests/expected/fdisk/bsd_1_0.BE +++ b/tests/expected/fdisk/bsd_1_0.BE @@ -51,7 +51,7 @@ Device Boot Start End Sectors Size Id Type 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 |............... | diff --git a/tests/expected/fdisk/bsd_1_0.LE b/tests/expected/fdisk/bsd_1_0.LE index 492e2a6b91..71de66a0e0 100644 --- a/tests/expected/fdisk/bsd_1_0.LE +++ b/tests/expected/fdisk/bsd_1_0.LE @@ -51,7 +51,7 @@ Device Boot Start End Sectors Size Id Type 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 |............... | diff --git a/tests/expected/ul/basic b/tests/expected/ul/basic index 4a6cdd6750..0e572fbff8 100644 --- a/tests/expected/ul/basic +++ b/tests/expected/ul/basic @@ -102,7 +102,7 @@ SO SI(B underline flush - afer flush + after flush normaldim(B normaldimunderlined normal diff --git a/tests/ts/fdisk/bsd b/tests/ts/fdisk/bsd index 27cd87fe71..675468d425 100755 --- a/tests/ts/fdisk/bsd +++ b/tests/ts/fdisk/bsd @@ -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 diff --git a/tests/ts/ul/filter.input b/tests/ts/ul/filter.input index c9005954f1..1ba6beceec 100644 --- a/tests/ts/ul/filter.input +++ b/tests/ts/ul/filter.input @@ -4,7 +4,7 @@ R S SO SI u_n_d_e_r_line -flush afer flush +flush after flush normal9dim normal8dimunderlined normal7reverse diff --git a/text-utils/column.c b/text-utils/column.c index d251a710e3..134b0b6ef6 100644 --- a/text-utils/column.c +++ b/text-utils/column.c @@ -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,