]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
misc: fix typos [codespell]
authorSamanta Navarro <ferivoz@riseup.net>
Wed, 4 Nov 2020 11:30:00 +0000 (11:30 +0000)
committerSamanta Navarro <ferivoz@riseup.net>
Wed, 4 Nov 2020 11:42:25 +0000 (11:42 +0000)
Signed-off-by: Samanta Navarro <ferivoz@riseup.net>
14 files changed:
configure.ac
disk-utils/fdisk-list.c
disk-utils/fdisk-list.h
lib/env.c
libblkid/src/devname.c
tests/expected/fdisk/bsd_0_64.BE
tests/expected/fdisk/bsd_0_64.LE
tests/expected/fdisk/bsd_0_64_alpha.LE
tests/expected/fdisk/bsd_1_0.BE
tests/expected/fdisk/bsd_1_0.LE
tests/expected/ul/basic
tests/ts/fdisk/bsd
tests/ts/ul/filter.input
text-utils/column.c

index 9d4785c95c5383d1d7d9e5ba1d603c55265d4dbc..52d84cdd85b710f7d4fdf5af730b78591e7273e9 100644 (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])
index 8cc116281983644fe19347679a5a153523d1b2fa..62aa2b3f5c4988f4e70b72657baa4312380e1b7b 100644 (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);
index a31ab0a7e981f9a7e4b25b87b1c07a60dd496ec7..6c7552892815ae3a5bc481875ff3fd2bce5765a8 100644 (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);
index 7f706f03da1ae6babf833f029e88aaf8eb4e1df1..ac481eea7e4f1bfcb4f47666f736c29c23f8c6e6 100644 (file)
--- 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)
 {
index 4b9df5a9754469c41b1c691d3f06a197f3b58728..5582551316eb3019b150e5ec54692d0d510345b5 100644 (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;
index b502d0d6676632d7bba7887c3254d4256901294a..6b5b44d9e98c9b6be4afc8dff7ec0e16ab5047da 100644 (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  |............... |
index 8b9897c2493c47926c56cf0bdc028ae7d24c04b8..3dbe623420f3436ccd9f5b9f20c26f50e2079191 100644 (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  |............... |
index ae7dabda84fc8d42941a696129de11faa30fe726..ab39149270266428fc758e4929e2cd44869bca71 100644 (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  |............... |
index 56dd69bd8ff915a5eb2911acb6231356bb6b5649..3092a9b9cd4a26b0faf1620d6cbd3a4f99465120 100644 (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  |............... |
index 492e2a6b91887b9e57f8f45f170a0100a206ee9b..71de66a0e0216bbce07e09d9b697ddc967254120 100644 (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  |............... |
index 4a6cdd6750e61cecbe61e10579a9d6762171c2b6..0e572fbff80d0fa17ffe0d102ef2e47c290cd1e2 100644 (file)
@@ -102,7 +102,7 @@ SO
 \e[7mSI\e(B\e[m
 \e[4munder\e[24mline
 flush
-\fafer flush
+\fafter flush
 normal\e[2mdim\e(B\e[m
 normaldimunderlined
 normal
index 27cd87fe71b6c044e335eb32819ee8d6552580c7..675468d4254fb965ebb893bceee3eee0b3268cf0 100755 (executable)
@@ -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
index c9005954f135b70fa99c545436f87456b81ea650..1ba6beceec5713f30ee3c38519317e12fc03218c 100644 (file)
@@ -4,7 +4,7 @@ R\rS
 SO\ e
 SI\ f
 u\b_n\b_d\b_e\b_r\b_line
-flush\fafer flush
+flush\fafter flush
 normal\e9dim
 normal\e8dimunderlined
 normal\e7reverse
index d251a710e3b5600a6f1c0101071a2de78862c25e..134b0b6ef69466757242680eca158069cc466c31 100644 (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,