From 20ceb65fbc728c6a681ec85ee2a94e93a9e7df0c Mon Sep 17 00:00:00 2001
From: Benjamin Drung <benjamin.drung@cloud.ionos.com>
Date: Mon, 16 Dec 2019 16:58:56 +0100
Subject: Fix spelling mistakes found by lintian

Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
---
 doc/gensquashfs.1         | 4 ++--
 doc/tar2sqfs.1            | 6 +++---
 include/fstree.h          | 2 +-
 include/sqfs/dir_reader.h | 6 +++---
 include/sqfs/dir_writer.h | 2 +-
 include/sqfs/xattr.h      | 2 +-
 mkfs/options.c            | 4 ++--
 tar/tar2sqfs.c            | 4 ++--
 8 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/doc/gensquashfs.1 b/doc/gensquashfs.1
index 6e17831..04dd968 100644
--- a/doc/gensquashfs.1
+++ b/doc/gensquashfs.1
@@ -26,7 +26,7 @@ Run \fBgensquashfs \-\-help\fR to get a list of all available compressors
 and the default selection.
 .TP
 \fB\-\-comp\-extra\fR, \fB\-X\fR <options>
-A comma seperated list of extra options for the selected compressor. Specify
+A comma separated list of extra options for the selected compressor. Specify
 \fBhelp\fR to get a list of available options.
 .TP
 \fB\-\-num\-jobs\fR, \fB\-j\fR <count>
@@ -57,7 +57,7 @@ When using \fB\-\-pack\-dir\fR only, stay in local filesystem and do not cross
 mount points.
 .TP
 \fB\-\-defaults\fR, \fB\-d\fR <options>
-A comma seperated list of default values for
+A comma separated list of default values for
 implicitly created directories.
 The following values can be set:
 .TS
diff --git a/doc/tar2sqfs.1 b/doc/tar2sqfs.1
index 5cad16a..70bb485 100644
--- a/doc/tar2sqfs.1
+++ b/doc/tar2sqfs.1
@@ -32,7 +32,7 @@ Run \fBtar2sqfs \-\-help\fR to get a list of all available compressors
 and the default selection.
 .TP
 \fB\-\-comp\-extra\fR, \fB\-X\fR <options>
-A comma seperated list of extra options for the selected compressor. Specify
+A comma separated list of extra options for the selected compressor. Specify
 \fBhelp\fR to get a list of available options.
 .TP
 \fB\-\-num\-jobs\fR, \fB\-j\fR <count>
@@ -54,7 +54,7 @@ Device block size to padd the image to.
 Defaults to 4096.
 .TP
 \fB\-\-defaults\fR, \fB\-d\fR <options>
-A comma seperated list of default values for
+A comma separated list of default values for
 implicitly created directories.
 The following values can be set:
 .TS
@@ -121,7 +121,7 @@ If any unsupported section or extended attribute key is encountered in an
 archive a warning message is written to stderr. If the \fB\-\-no\-skip\fR
 option is set, processing aborts. By default, unknown sections and unsupported
 extended attributes are simply skipped after issuing a warning.
-.SH ENVIRONEMNT
+.SH ENVIRONMENT
 If the command line switch \fB\-\-defaults\fR is not used or no default mtime
 is specified, the value of the environment variable \fBSOURCE\_DATE\_EPOCH\fR
 is used for all file and filesystem timestamps.
diff --git a/include/fstree.h b/include/fstree.h
index d4839a2..9d0d045 100644
--- a/include/fstree.h
+++ b/include/fstree.h
@@ -95,7 +95,7 @@ struct fstree_t {
   On error, an error message is written to stderr.
 
   The string `defaults` can specify default attributes (mode, uid, gid, mtime)
-  as a comma seperated list of key value paris (<key>=<value>[,...]). The string
+  as a comma separated list of key value paris (<key>=<value>[,...]). The string
   is passed to getsubopt and will be altered.
 
   Returns 0 on success.
diff --git a/include/sqfs/dir_reader.h b/include/sqfs/dir_reader.h
index 389da6b..8071ef4 100644
--- a/include/sqfs/dir_reader.h
+++ b/include/sqfs/dir_reader.h
@@ -33,7 +33,7 @@
  *
  * @brief Abstracts reading of directory entries
  *
- * SquashFS stores directory listings and inode structures seperated from
+ * SquashFS stores directory listings and inode structures separated from
  * each other in meta data blocks.
  *
  * The sqfs_dir_reader_t abstracts access to the filesystem tree in a SquashFS
@@ -275,7 +275,7 @@ SQFS_API int sqfs_dir_reader_get_root_inode(sqfs_dir_reader_t *rd,
  *
  * @param rd A pointer to a directory reader.
  * @param path A path to resolve into an inode. Forward or backward slashes can
- *             be used to seperate path components. Resolving '.' or '..' is
+ *             be used to separate path components. Resolving '.' or '..' is
  *             not supported.
  * @param out Returns a pointer to a generic inode that can be freed with a
  *            single free call.
@@ -298,7 +298,7 @@ SQFS_API int sqfs_dir_reader_find_by_path(sqfs_dir_reader_t *rd,
  *
  * @param rd A pointer to a directory reader.
  * @param path A path to resolve into an inode. Forward or backward slashes can
- *             be used to seperate path components. Resolving '.' or '..' is
+ *             be used to separate path components. Resolving '.' or '..' is
  *             not supported. Can be set to NULL to get the root inode.
  * @param flags A combination of @ref E_SQFS_TREE_FILTER_FLAGS flags.
  * @param out Returns the top most tree node.
diff --git a/include/sqfs/dir_writer.h b/include/sqfs/dir_writer.h
index c390050..05d054b 100644
--- a/include/sqfs/dir_writer.h
+++ b/include/sqfs/dir_writer.h
@@ -33,7 +33,7 @@
  *
  * @brief Abstracts generating of directory entries
  *
- * SquashFS stores directory entries and inodes seperated from each other. The
+ * SquashFS stores directory entries and inodes separated from each other. The
  * inodes are stored in a series of meta data blocks before another series of
  * meta data blocks that contain the directory entries. Directory inodes point
  * to meta data block (and offset) where its contents are listed and the
diff --git a/include/sqfs/xattr.h b/include/sqfs/xattr.h
index f2a87d3..c34f920 100644
--- a/include/sqfs/xattr.h
+++ b/include/sqfs/xattr.h
@@ -159,7 +159,7 @@ extern "C" {
  * prefix of the key string and storing an enumerator instead to save memory.
  *
  * This function takes an @ref E_SQFS_XATTR_TYPE identifier and returns the
- * coresponding prefix string, including the '.' at the end that seperates
+ * coresponding prefix string, including the '.' at the end that separates
  * the prefix from the rest of the key.
  */
 SQFS_API const char *sqfs_get_xattr_prefix(E_SQFS_XATTR_TYPE id);
diff --git a/mkfs/options.c b/mkfs/options.c
index 94707cb..39ecdc7 100644
--- a/mkfs/options.c
+++ b/mkfs/options.c
@@ -61,7 +61,7 @@ static const char *help_string =
 "\n"
 "  --compressor, -c <name>     Select the compressor to use.\n"
 "                              A list of available compressors is below.\n"
-"  --comp-extra, -X <options>  A comma seperated list of extra options for\n"
+"  --comp-extra, -X <options>  A comma separated list of extra options for\n"
 "                              the selected compressor. Specify 'help' to\n"
 "                              get a list of available options.\n"
 "  --num-jobs, -j <count>      Number of compressor jobs to create.\n"
@@ -73,7 +73,7 @@ static const char *help_string =
 "                              Defaults to %u.\n"
 "  --dev-block-size, -B <size> Device block size to padd the image to.\n"
 "                              Defaults to %u.\n"
-"  --defaults, -d <options>    A comma seperated list of default values for\n"
+"  --defaults, -d <options>    A comma separated list of default values for\n"
 "                              implicitly created directories.\n"
 "\n"
 "                              Possible options:\n"
diff --git a/tar/tar2sqfs.c b/tar/tar2sqfs.c
index b070db8..a13b84e 100644
--- a/tar/tar2sqfs.c
+++ b/tar/tar2sqfs.c
@@ -58,7 +58,7 @@ static const char *usagestr =
 "\n"
 "  --compressor, -c <name>     Select the compressor to use.\n"
 "                              A list of available compressors is below.\n"
-"  --comp-extra, -X <options>  A comma seperated list of extra options for\n"
+"  --comp-extra, -X <options>  A comma separated list of extra options for\n"
 "                              the selected compressor. Specify 'help' to\n"
 "                              get a list of available options.\n"
 "  --num-jobs, -j <count>      Number of compressor jobs to create.\n"
@@ -70,7 +70,7 @@ static const char *usagestr =
 "                              Defaults to %u.\n"
 "  --dev-block-size, -B <size> Device block size to padd the image to.\n"
 "                              Defaults to %u.\n"
-"  --defaults, -d <options>    A comma seperated list of default values for\n"
+"  --defaults, -d <options>    A comma separated list of default values for\n"
 "                              implicitly created directories.\n"
 "\n"
 "                              Possible options:\n"
-- 
cgit v1.2.3