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 /sys-utils/umount.c | |
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 'sys-utils/umount.c')
-rw-r--r-- | sys-utils/umount.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-utils/umount.c b/sys-utils/umount.c index 8e3ef4e52..0c81970c7 100644 --- a/sys-utils/umount.c +++ b/sys-utils/umount.c @@ -344,7 +344,7 @@ static int umount_one_if_mounted(struct libmnt_context *cxt, const char *spec) rc = mnt_context_find_umount_fs(cxt, spec, &fs); if (rc == 1) { - rc = MOUNT_EX_SUCCESS; /* alredy unmounted */ + rc = MOUNT_EX_SUCCESS; /* already unmounted */ mnt_reset_context(cxt); } else if (rc < 0) { rc = mk_exit_code(cxt, rc); /* error */ @@ -365,7 +365,7 @@ static int umount_do_recurse(struct libmnt_context *cxt, if (!itr) err(MOUNT_EX_SYSERR, _("libmount iterator allocation failed")); - /* umount all childern */ + /* umount all children */ for (;;) { rc = mnt_table_next_child_fs(tb, itr, fs, &child); if (rc < 0) { @@ -452,7 +452,7 @@ static int umount_alltargets(struct libmnt_context *cxt, const char *spec, int r goto done; } - /* Note that @fs is from mount context and the context will be reseted + /* Note that @fs is from mount context and the context will be reset * after each umount() call */ devno = mnt_fs_get_devno(fs); fs = NULL; |