misc: fix typos [codespell]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2019-09-05 20:38:41 +01:00
parent 9245c84dfd
commit 218b1dd6f9
No known key found for this signature in database
GPG Key ID: 0D46FEF7E61DBB46
15 changed files with 20 additions and 20 deletions

View File

@ -790,7 +790,7 @@ AC_CHECK_DECLS([CPU_ALLOC], [], [], [[
]]) ]])
# on Solaris, you can't mix and match standards, since we use c99 # 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. # check for crypt.h and use that without XOPEN_SOURCE.
have_crypt=no have_crypt=no
AC_CHECK_HEADERS([crypt.h]) AC_CHECK_HEADERS([crypt.h])

View File

@ -64,7 +64,7 @@
/* /*
* It evaluates to 1 if the attribute/feature is supported by the current * 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 #ifndef __has_attribute
#define __has_attribute(x) 0 #define __has_attribute(x) 0

View File

@ -36,7 +36,7 @@
#include "debug.h" #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 #ifdef USE_COLORS_BY_DEFAULT
# define UL_COLORMODE_DEFAULT UL_COLORMODE_AUTO /* check isatty() */ # define UL_COLORMODE_DEFAULT UL_COLORMODE_AUTO /* check isatty() */

View File

@ -861,7 +861,7 @@ dev_t __sysfs_devname_to_devno(const char *prefix, const char *name, const char
dev = st.st_rdev; dev = st.st_rdev;
goto done; goto done;
} }
name += 5; /* unaccesible, or not node in /dev */ name += 5; /* unaccessible, or not node in /dev */
} }
_name = strdup(name); _name = strdup(name);

View 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 * We know nothing about AIX on-disk structures. Everything what we know is the
* magic number at begin of the disk. * 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 * 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 * fdisk-like programs has to properly wipe the fist sector. Everything other
* is a bug. * is a bug.

View File

@ -223,7 +223,7 @@ static int probe_dos_pt(blkid_probe pr,
goto nothing; goto nothing;
} }
/* Another false possitive is NTFS */ /* Another false positive is NTFS */
if (blkid_probe_is_ntfs(pr) == 1) { if (blkid_probe_is_ntfs(pr) == 1) {
DBG(LOWPROBE, ul_debug("probably NTFS -- ignore")); DBG(LOWPROBE, ul_debug("probably NTFS -- ignore"));
goto nothing; goto nothing;

View File

@ -136,7 +136,7 @@ static int count_column_width(struct libscols_table *tb,
if (scols_column_is_tree(cl) && has_groups(tb)) { if (scols_column_is_tree(cl) && has_groups(tb)) {
/* We don't fill buffer with groups tree ascii art during width /* 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. * calculate final width from grpset_size.
*/ */
size_t gprwidth = tb->grpset_size + 1; size_t gprwidth = tb->grpset_size + 1;

View File

@ -24,7 +24,7 @@
* from this software without specific prior written permission. * from this software without specific prior written permission.
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * 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 <sys/param.h>
#include <stdio.h> #include <stdio.h>

View File

@ -155,7 +155,7 @@ dnl UL_REQUIRES_LINUX(NAME, [VARSUFFIX = $1])
dnl dnl
dnl Modifies $build_<name> variable according to $enable_<name> and OS type. The 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 $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
dnl The default <name> for $build_ and $enable_ could be overwrited by option $2. dnl The default <name> for $build_ and $enable_ could be overwrited by option $2.
dnl dnl
@ -184,7 +184,7 @@ dnl UL_EXCLUDE_ARCH(NAME, ARCH, [VARSUFFIX = $1])
dnl dnl
dnl Modifies $build_<name> variable according to $enable_<name> and $host. The 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 $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
dnl The default <name> for $build_ and $enable_ could be overwrited by option $3. dnl The default <name> for $build_ and $enable_ could be overwrited by option $3.
dnl dnl
@ -214,7 +214,7 @@ dnl UL_REQUIRES_ARCH(NAME, ARCH, [VARSUFFIX = $1])
dnl dnl
dnl Modifies $build_<name> variable according to $enable_<name> and $host. The 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 $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
dnl The <arch> maybe a list, then at least one of the patterns in the list dnl The <arch> maybe a list, then at least one of the patterns in the list
dnl have to match. dnl have to match.
@ -386,7 +386,7 @@ dnl UL_REQUIRES_SYSCALL_CHECK(NAME, SYSCALL-TEST, [SYSCALLNAME=$1], [VARSUFFIX=$
dnl dnl
dnl Modifies $build_<name> variable according to $enable_<name> and SYSCALL-TEST 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 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
dnl Note that SYSCALL-TEST has to define $ul_cv_syscall_<name> variable, see dnl Note that SYSCALL-TEST has to define $ul_cv_syscall_<name> variable, see
dnl also UL_CHECK_SYSCALL(). dnl also UL_CHECK_SYSCALL().

View File

@ -29,7 +29,7 @@ directory.
Be quiet - don't print anything. Be quiet - don't print anything.
.TP .TP
.B "\-\-nofollow" .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 .I directory
path. path.
.TP .TP

View File

@ -85,7 +85,7 @@ udevadm settle
ts_unlock "md" ts_unlock "md"
ts_fdisk_clean $TS_DEVICE ts_fdisk_clean $TS_DEVICE
# substitue UUIDs and major/minor number before comparison # substitute UUIDs and major/minor number before comparison
sed -i \ sed -i \
-e 's/^\(ID_FS_UUID\)=.*/\1=__ts_uuid__/' \ -e 's/^\(ID_FS_UUID\)=.*/\1=__ts_uuid__/' \
-e 's/^\(ID_FS_UUID_ENC\)=.*/\1=__ts_uuid_enc__/' \ -e 's/^\(ID_FS_UUID_ENC\)=.*/\1=__ts_uuid_enc__/' \

View File

@ -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_is_mounted $DEVICE || ts_die "A) Cannot find $DEVICE in /proc/mounts"
$TS_CMD_UMOUNT $LINKNAME || ts_die "A) Cannot umount $LINKNAME" $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 # libtool wrapper and the real mount is exec()ed with
# LD_LIBRARY_PATH. This all is bad for suid programs... # LD_LIBRARY_PATH. This all is bad for suid programs...

View File

@ -39,17 +39,17 @@ UUID=$(ts_uuid_by_devname "$DEVICE") || ts_die "Cannot find UUID on $DEVICE"
ts_fstab_add "UUID=$UUID" ts_fstab_add "UUID=$UUID"
ts_udevadm_settle "$DEVICE" "UUID" ts_udevadm_settle "$DEVICE" "UUID"
# varian A) # variant A)
$TS_CMD_MOUNT $TS_MOUNTPOINT >> $TS_OUTPUT 2>> $TS_ERRLOG $TS_CMD_MOUNT $TS_MOUNTPOINT >> $TS_OUTPUT 2>> $TS_ERRLOG
ts_is_mounted $DEVICE || ts_die "A) Cannot find $DEVICE in /proc/mounts" ts_is_mounted $DEVICE || ts_die "A) Cannot find $DEVICE in /proc/mounts"
$TS_CMD_UMOUNT $DEVICE || ts_die "A) Cannot umount $DEVICE" $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_CMD_MOUNT -U $UUID >> $TS_OUTPUT 2>> $TS_ERRLOG
ts_is_mounted $DEVICE || ts_die "B) Cannot find $DEVICE in /proc/mounts" ts_is_mounted $DEVICE || ts_die "B) Cannot find $DEVICE in /proc/mounts"
$TS_CMD_UMOUNT $DEVICE || ts_die "B) Cannot umount $DEVICE" $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_CMD_MOUNT UUID=$UUID >> $TS_OUTPUT 2>> $TS_ERRLOG
ts_is_mounted $DEVICE || ts_die "C) Cannot find $DEVICE in /proc/mounts" ts_is_mounted $DEVICE || ts_die "C) Cannot find $DEVICE in /proc/mounts"
$TS_CMD_UMOUNT $DEVICE || ts_die "C) Cannot umount $DEVICE" $TS_CMD_UMOUNT $DEVICE || ts_die "C) Cannot umount $DEVICE"

View File

@ -12,7 +12,7 @@
* from this software without specific prior written permission. * from this software without specific prior written permission.
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * 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 /* more.c - General purpose tty output filter and file perusal program

View File

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# #
# This script checkd for #ifdef HAVE_DECL_SYMBOL in code. # This script checks for #ifdef HAVE_DECL_SYMBOL in code.
# #
# Autoconf docs: # Autoconf docs:
# #