diff options
author | Sebastian Rasmussen | 2016-05-29 23:11:53 +0200 |
---|---|---|
committer | Sebastian Rasmussen | 2016-05-31 23:40:21 +0200 |
commit | 9e93004171eb0c4c288051b2d7bb37f97a0ae430 (patch) | |
tree | 369493906bb3c1c6f2554609c737ada0230f4b2e /include | |
parent | docs: Fix various typos (diff) | |
download | kernel-qcow2-util-linux-9e93004171eb0c4c288051b2d7bb37f97a0ae430.tar.gz kernel-qcow2-util-linux-9e93004171eb0c4c288051b2d7bb37f97a0ae430.tar.xz kernel-qcow2-util-linux-9e93004171eb0c4c288051b2d7bb37f97a0ae430.zip |
misc: Fix various typos
Fix various typos in error messages, warnings, debug strings,
comments and names of static functions.
Signed-off-by: Sebastian Rasmussen <sebras@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/color-names.h | 2 | ||||
-rw-r--r-- | include/cpuset.h | 2 | ||||
-rw-r--r-- | include/debug.h | 2 | ||||
-rw-r--r-- | include/plymouth-ctrl.h | 2 | ||||
-rw-r--r-- | include/statfs_magic.h | 2 | ||||
-rw-r--r-- | include/sysfs.h | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/include/color-names.h b/include/color-names.h index f21a0ee1b..42f6f8f6e 100644 --- a/include/color-names.h +++ b/include/color-names.h @@ -36,7 +36,7 @@ #define UL_COLOR_WHITE "\033[1;37m" -/* maximal lenght of human readable name of ESC seq. */ +/* maximal length of human readable name of ESC seq. */ #define UL_COLORNAME_MAXSZ 32 extern const char *color_sequence_from_colorname(const char *str); diff --git a/include/cpuset.h b/include/cpuset.h index f8948a984..5a531bf00 100644 --- a/include/cpuset.h +++ b/include/cpuset.h @@ -66,7 +66,7 @@ extern int __cpuset_count_s(size_t setsize, const cpu_set_t *set); #define cpuset_nbits(setsize) (8 * (setsize)) /* - * The @idx parametr returns an index of the first mask from @ary array where + * The @idx parameter returns an index of the first mask from @ary array where * the @cpu is set. * * Returns: 0 if found, otherwise 1. diff --git a/include/debug.h b/include/debug.h index 0229ab329..45c1caade 100644 --- a/include/debug.h +++ b/include/debug.h @@ -29,7 +29,7 @@ * subsystem names (e.g. "LIBMOUNT_DEBUG=options,tab"). In this case is * necessary to define mask names array. This functionality is optional. * - * It's stringly recommended to use UL_* macros to define/declare/use + * It's strongly recommended to use UL_* macros to define/declare/use * the debug stuff. * * See disk-utils/cfdisk.c: cfdisk_init_debug() for programs debug diff --git a/include/plymouth-ctrl.h b/include/plymouth-ctrl.h index e1df363eb..50eaf0c7a 100644 --- a/include/plymouth-ctrl.h +++ b/include/plymouth-ctrl.h @@ -1,5 +1,5 @@ /* - * plymouth-ctrl.h Header file for communcations with plymouthd + * plymouth-ctrl.h Header file for communications with plymouthd * * Copyright (c) 2016 SUSE Linux GmbH, All rights reserved. * Copyright (c) 2016 Werner Fink <werner@suse.de> diff --git a/include/statfs_magic.h b/include/statfs_magic.h index 7adce8af1..b6b0225e8 100644 --- a/include/statfs_magic.h +++ b/include/statfs_magic.h @@ -13,7 +13,7 @@ #endif /* - * Unfortunately, Linux kernel hedeader file <linux/magic.h> is incomplete + * Unfortunately, Linux kernel header file <linux/magic.h> is incomplete * mess and kernel returns by statfs f_type many numbers that are nowhere * specified (in API). * diff --git a/include/sysfs.h b/include/sysfs.h index 55213780c..664359243 100644 --- a/include/sysfs.h +++ b/include/sysfs.h @@ -97,7 +97,7 @@ extern int sysfs_scsi_path_contains(struct sysfs_cxt *cxt, const char *pattern); * * Linux kernel linux/drivers/base/core.c: device_get_devnode() * defines a replacement of '!' in the /sys device name by '/' in the - * /dev device name. This helper replaces all ocurrences of '!' in + * /dev device name. This helper replaces all occurrences of '!' in * @name by '/' to convert from /sys to /dev. */ static inline void sysfs_devname_sys_to_dev(char *name) |