summaryrefslogtreecommitdiffstats
path: root/libmount
diff options
context:
space:
mode:
authorGilles Espinasse2012-09-22 09:59:19 +0200
committerKarel Zak2012-10-02 10:24:26 +0200
commit45683be54330906a61a0b6b4696e72574561efb5 (patch)
treef5ea07d0a9fdfa18201cde30a37447b10975106d /libmount
parentlsblk: fix reporting of 'part' type (diff)
downloadkernel-qcow2-util-linux-45683be54330906a61a0b6b4696e72574561efb5.tar.gz
kernel-qcow2-util-linux-45683be54330906a61a0b6b4696e72574561efb5.tar.xz
kernel-qcow2-util-linux-45683be54330906a61a0b6b4696e72574561efb5.zip
textual: typo fixes
Signed-off-by: Gilles Espinasse <g.esp@free.fr>
Diffstat (limited to 'libmount')
-rw-r--r--libmount/src/context_mount.c2
-rw-r--r--libmount/src/context_umount.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/libmount/src/context_mount.c b/libmount/src/context_mount.c
index c665a0578..6dc8e6486 100644
--- a/libmount/src/context_mount.c
+++ b/libmount/src/context_mount.c
@@ -113,7 +113,7 @@ static int fix_optstr(struct libmnt_context *cxt)
*/
se_rem = get_linux_version() < KERNEL_VERSION(2, 6, 39);
else
- /* For normal mount we have translate the contexts */
+ /* For normal mount, contexts are translated */
se_fix = 1;
if (!se_rem) {
diff --git a/libmount/src/context_umount.c b/libmount/src/context_umount.c
index 566bb2115..92663a218 100644
--- a/libmount/src/context_umount.c
+++ b/libmount/src/context_umount.c
@@ -153,7 +153,7 @@ try_loopdev:
} else if (count > 1)
DBG(CXT, mnt_debug_h(cxt,
"umount: warning: %s is associated "
- "with more than one loodev", tgt));
+ "with more than one loopdev", tgt));
}
}
@@ -538,7 +538,7 @@ static int do_umount(struct libmnt_context *cxt)
if (cxt->restricted && !mnt_context_is_fake(cxt)) {
/*
- * extra paranoa for non-root users
+ * extra paranoia for non-root users
* -- chdir to the parent of the mountpoint and use NOFOLLOW
* flag to avoid races and symlink attacks.
*/