summaryrefslogtreecommitdiffstats
path: root/libmount/src
diff options
context:
space:
mode:
authorRuediger Meier2018-02-15 22:02:18 +0100
committerRuediger Meier2018-02-16 11:12:52 +0100
commit73afd3f8e8793844e8e53f69d819ca740cdfc889 (patch)
tree7f6748bf84ba5940af9a115bba26c3298c951833 /libmount/src
parentlsns: fix clang compiler warning (diff)
downloadkernel-qcow2-util-linux-73afd3f8e8793844e8e53f69d819ca740cdfc889.tar.gz
kernel-qcow2-util-linux-73afd3f8e8793844e8e53f69d819ca740cdfc889.tar.xz
kernel-qcow2-util-linux-73afd3f8e8793844e8e53f69d819ca740cdfc889.zip
misc: fix typos using codespell
Some more funny typos, please review carefully. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'libmount/src')
-rw-r--r--libmount/src/context_loopdev.c4
-rw-r--r--libmount/src/fs.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/libmount/src/context_loopdev.c b/libmount/src/context_loopdev.c
index ab80bd110..b1608dd45 100644
--- a/libmount/src/context_loopdev.c
+++ b/libmount/src/context_loopdev.c
@@ -225,12 +225,12 @@ int mnt_context_setup_loopdev(struct libmnt_context *cxt)
rc = loopcxt_find_overlap(&lc, backing_file, offset, sizelimit);
switch (rc) {
case 0: /* not found */
- DBG(LOOP, ul_debugobj(cxt, "not found overlaping loopdev"));
+ DBG(LOOP, ul_debugobj(cxt, "not found overlapping loopdev"));
loopcxt_deinit(&lc);
break;
case 1: /* overlap */
- DBG(LOOP, ul_debugobj(cxt, "overlaping %s detected",
+ DBG(LOOP, ul_debugobj(cxt, "overlapping %s detected",
loopcxt_get_device(&lc)));
rc = -MNT_ERR_LOOPOVERLAP;
goto done;
diff --git a/libmount/src/fs.c b/libmount/src/fs.c
index a801d8c1d..def32253c 100644
--- a/libmount/src/fs.c
+++ b/libmount/src/fs.c
@@ -416,8 +416,8 @@ int mnt_fs_set_source(struct libmnt_fs *fs, const char *source)
* @fs: fs
* @path: source path
*
- * Compares @fs source path with @path. The redundant slashs are ignored.
- * This function compares strings and does not cannonicalize the paths.
+ * Compares @fs source path with @path. The redundant slashes are ignored.
+ * This function compares strings and does not canonicalize the paths.
* See also more heavy and generic mnt_fs_match_source().
*
* Returns: 1 if @fs source path equal to @path, otherwise 0.
@@ -445,8 +445,8 @@ int mnt_fs_streq_srcpath(struct libmnt_fs *fs, const char *path)
* @fs: fs
* @path: mount point
*
- * Compares @fs target path with @path. The redundant slashs are ignored.
- * This function compares strings and does not cannonicalize the paths.
+ * Compares @fs target path with @path. The redundant slashes are ignored.
+ * This function compares strings and does not canonicalize the paths.
* See also more generic mnt_fs_match_target().
*
* Returns: 1 if @fs target path equal to @path, otherwise 0.