]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
misc: fix typos [codespell]
authorSami Kerola <kerolasa@iki.fi>
Thu, 5 Sep 2019 19:38:41 +0000 (20:38 +0100)
committerSami Kerola <kerolasa@iki.fi>
Thu, 12 Sep 2019 18:41:46 +0000 (19:41 +0100)
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
15 files changed:
configure.ac
include/c.h
lib/colors.c
lib/sysfs.c
libblkid/src/partitions/aix.c
libblkid/src/partitions/dos.c
libsmartcols/src/calculate.c
login-utils/login.c
m4/ul.m4
sys-utils/mountpoint.1
tests/ts/blkid/md-raid1-part
tests/ts/mount/fstab-symlink
tests/ts/mount/fstab-uuid
text-utils/more.c
tools/checkdecl.sh

index 75afba80deeab63aa5fe867757e5902e00d0c94a..4daab0d8faa9344d72fa74306ddeaf06a8b7a8a0 100644 (file)
@@ -790,7 +790,7 @@ AC_CHECK_DECLS([CPU_ALLOC], [], [], [[
 ]])
 
 # on Solaris, you can't mix and match standards, since we use c99
-# aparently at this stage, XOPEN_SOURCE will conflict.  As workaround,
+# apparently at this stage, XOPEN_SOURCE will conflict.  As workaround,
 # check for crypt.h and use that without XOPEN_SOURCE.
 have_crypt=no
 AC_CHECK_HEADERS([crypt.h])
index 02e9e59fa4d6edf810f5e1d680aad657ecfb3fae..94b0c3681dd15634c651a10f2c676f2591adc9ec 100644 (file)
@@ -64,7 +64,7 @@
 
 /*
  * It evaluates to 1 if the attribute/feature is supported by the current
- * compilation targed. Fallback for old compilers.
+ * compilation target. Fallback for old compilers.
  */
 #ifndef __has_attribute
   #define __has_attribute(x) 0
index 77d16d08d716d4c5c5f34b240bab7863bd83d670..e3175191241003e977c8bdecd43f1b42612e7e19 100644 (file)
@@ -36,7 +36,7 @@
 #include "debug.h"
 
 /*
- * Default behavior, may be overriden by terminal-colors.d/{enable,disable}.
+ * Default behavior, may be overridden by terminal-colors.d/{enable,disable}.
  */
 #ifdef USE_COLORS_BY_DEFAULT
 # define UL_COLORMODE_DEFAULT  UL_COLORMODE_AUTO       /* check isatty() */
index 74d75897d7f3ec21747a250e28ecff32efa4192a..ce944001f9f4e9ae4979e73efef73635fd11bb2e 100644 (file)
@@ -861,7 +861,7 @@ dev_t __sysfs_devname_to_devno(const char *prefix, const char *name, const char
                        dev = st.st_rdev;
                        goto done;
                }
-               name += 5;      /* unaccesible, or not node in /dev */
+               name += 5;      /* unaccessible, or not node in /dev */
        }
 
        _name = strdup(name);
index 4efdfa33d0702f8e362ed01329f1795b2b01a91a..03a311a44efb2f54b92c2d8bbef1ce73b66204e6 100644 (file)
@@ -39,7 +39,7 @@ static int probe_aix_pt(blkid_probe pr,
  * We know nothing about AIX on-disk structures. Everything what we know is the
  * magic number at begin of the disk.
  *
- * Note, Linux kernel is tring to be smart and AIX signature is ignored when
+ * Note, Linux kernel is trying to be smart and AIX signature is ignored when
  * there is a valid DOS partitions table. We don't support such behavior. All
  * fdisk-like programs has to properly wipe the fist sector. Everything other
  * is a bug.
index f8b0ee50d69d7e0227a6c91d8a0b69cfcb094fdb..6e758ecaaa28574a6130464418a498cba35559f9 100644 (file)
@@ -223,7 +223,7 @@ static int probe_dos_pt(blkid_probe pr,
                goto nothing;
        }
 
-       /* Another false possitive is NTFS */
+       /* Another false positive is NTFS */
        if (blkid_probe_is_ntfs(pr) == 1) {
                DBG(LOWPROBE, ul_debug("probably NTFS -- ignore"));
                goto nothing;
index 9426ebb05e85ec58baad0de6739508b18d85cab4..a0c0dc4b9bf261914faf649688a4c199d4aa28a5 100644 (file)
@@ -136,7 +136,7 @@ static int count_column_width(struct libscols_table *tb,
 
        if (scols_column_is_tree(cl) && has_groups(tb)) {
                /* We don't fill buffer with groups tree ascii art during width
-                * calcualtion. The print function only enlarge grpset[] and we
+                * calculation. The print function only enlarge grpset[] and we
                 * calculate final width from grpset_size.
                 */
                size_t gprwidth = tb->grpset_size + 1;
index 6b9d27e3ef45e316b9d98823a2ee707295e80773..d213e4784b8bb20a8089b62f5b491df51a57c4af 100644 (file)
@@ -24,7 +24,7 @@
  * from this software without specific prior written permission.
  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
- * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 #include <sys/param.h>
 #include <stdio.h>
index e32af44a3293db39368c1415f105f7e3fdc21270..0be8a91e65f6a32fff9ec773cfff935f3d0a74ea 100644 (file)
--- a/m4/ul.m4
+++ b/m4/ul.m4
@@ -155,7 +155,7 @@ dnl UL_REQUIRES_LINUX(NAME, [VARSUFFIX = $1])
 dnl
 dnl Modifies $build_<name>  variable according to $enable_<name> and OS type. The
 dnl $enable_<name> could be "yes", "no" and "check". If build_<name> is "no" then
-dnl all checks are skiped.
+dnl all checks are skipped.
 dnl
 dnl The default <name> for $build_ and $enable_ could be overwrited by option $2.
 dnl
@@ -184,7 +184,7 @@ dnl UL_EXCLUDE_ARCH(NAME, ARCH, [VARSUFFIX = $1])
 dnl
 dnl Modifies $build_<name>  variable according to $enable_<name> and $host. The
 dnl $enable_<name> could be "yes", "no" and "check". If build_<name> is "no" then
-dnl all checks are skiped.
+dnl all checks are skipped.
 dnl
 dnl The default <name> for $build_ and $enable_ could be overwrited by option $3.
 dnl
@@ -214,7 +214,7 @@ dnl UL_REQUIRES_ARCH(NAME, ARCH, [VARSUFFIX = $1])
 dnl
 dnl Modifies $build_<name>  variable according to $enable_<name> and $host. The
 dnl $enable_<name> could be "yes", "no" and "check". If build_<name> is "no" then
-dnl all checks are skiped.
+dnl all checks are skipped.
 dnl
 dnl The <arch> maybe a list, then at least one of the patterns in the list
 dnl have to match.
@@ -386,7 +386,7 @@ dnl UL_REQUIRES_SYSCALL_CHECK(NAME, SYSCALL-TEST, [SYSCALLNAME=$1], [VARSUFFIX=$
 dnl
 dnl Modifies $build_<name> variable according to $enable_<name> and SYSCALL-TEST
 dnl result. The $enable_<name> variable could be "yes", "no" and "check". If build_<name>
-dnl is "no" then all checks are skiped.
+dnl is "no" then all checks are skipped.
 dnl
 dnl Note that SYSCALL-TEST has to define $ul_cv_syscall_<name> variable, see
 dnl also UL_CHECK_SYSCALL().
index 6669b13ebc9cdb942a50cbe9fe4c3d240f621818..23e4536fc4904bead9bfc62680ded9babb76b66d 100644 (file)
@@ -29,7 +29,7 @@ directory.
 Be quiet - don't print anything.
 .TP
 .B "\-\-nofollow"
-Do not follow symbolic link if it the last elemnt of the
+Do not follow symbolic link if it the last element of the
 .I directory
 path.
 .TP
index e4ec58e9e85409b158a3cd17b64bf2b8a314286b..2d2b47908eed1f3f8d4ed0478f937433d0a502e5 100755 (executable)
@@ -85,7 +85,7 @@ udevadm settle
 ts_unlock "md"
 
 ts_fdisk_clean $TS_DEVICE
-# substitue UUIDs and major/minor number before comparison
+# substitute UUIDs and major/minor number before comparison
 sed -i \
   -e         's/^\(ID_FS_UUID\)=.*/\1=__ts_uuid__/' \
   -e     's/^\(ID_FS_UUID_ENC\)=.*/\1=__ts_uuid_enc__/' \
index c791f3127d1ff1b79eb4b49b0334c89a49e6b72e..34934734e81d9018b91fcdc00fd5f5689763d6e9 100755 (executable)
@@ -50,7 +50,7 @@ $TS_CMD_MOUNT $LINKNAME >> $TS_OUTPUT 2>> $TS_ERRLOG
 ts_is_mounted $DEVICE || ts_die "A) Cannot find $DEVICE in /proc/mounts"
 $TS_CMD_UMOUNT $LINKNAME || ts_die "A) Cannot umount $LINKNAME"
 
-# varian B) -- disabled, the $TS_CMD_MOUNT is usually not a real program, but
+# variant B) -- disabled, the $TS_CMD_MOUNT is usually not a real program, but
 #              libtool wrapper and the real mount is exec()ed with
 #              LD_LIBRARY_PATH. This all is bad for suid programs...
 
index fa6ddff3fa49fc0768d9fe30701b49d02e9ab8d5..6f4ec1f0d46e877732bf1651e5f8acb7bf1ad193 100755 (executable)
@@ -39,17 +39,17 @@ UUID=$(ts_uuid_by_devname "$DEVICE") || ts_die "Cannot find UUID on $DEVICE"
 ts_fstab_add "UUID=$UUID"
 ts_udevadm_settle "$DEVICE" "UUID"
 
-# varian A)
+# variant A)
 $TS_CMD_MOUNT $TS_MOUNTPOINT >> $TS_OUTPUT 2>> $TS_ERRLOG
 ts_is_mounted $DEVICE || ts_die "A) Cannot find $DEVICE in /proc/mounts"
 $TS_CMD_UMOUNT $DEVICE || ts_die "A) Cannot umount $DEVICE"
 
-# varian B)
+# variant B)
 $TS_CMD_MOUNT -U $UUID >> $TS_OUTPUT 2>> $TS_ERRLOG
 ts_is_mounted $DEVICE || ts_die "B) Cannot find $DEVICE in /proc/mounts"
 $TS_CMD_UMOUNT $DEVICE || ts_die "B) Cannot umount $DEVICE"
 
-# varian C)
+# variant C)
 $TS_CMD_MOUNT UUID=$UUID >> $TS_OUTPUT 2>> $TS_ERRLOG
 ts_is_mounted $DEVICE || ts_die "C) Cannot find $DEVICE in /proc/mounts"
 $TS_CMD_UMOUNT $DEVICE || ts_die "C) Cannot umount $DEVICE"
index 6e1ca569c9c768bca409641493b0d720499220fc..0d9d62571f30692dcf0091e6d86b55410ce84299 100644 (file)
@@ -12,7 +12,7 @@
  * from this software without specific prior written permission.
  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
- * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
 /* more.c - General purpose tty output filter and file perusal program
index bd9ee6975994857c6c4291f64f505813f29ce568..4ff4a10dabaafa3f32ef1f57e9de69c681294483 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 #
-# This script checkd for #ifdef HAVE_DECL_SYMBOL in code.
+# This script checks for #ifdef HAVE_DECL_SYMBOL in code.
 #
 # Autoconf docs:
 #