summaryrefslogtreecommitdiffstats
path: root/libmount
diff options
context:
space:
mode:
authorKir Kolyshkin2015-09-03 02:48:56 +0200
committerKir Kolyshkin2015-09-03 03:45:06 +0200
commit58dda170fb28d394118ff8a92ea51d4603def18f (patch)
treee2e2fc0f01be5f8b763045f54f85f89a61c17aa6 /libmount
parentlibfdisk: (gpt) reorder only when necessary (diff)
downloadkernel-qcow2-util-linux-58dda170fb28d394118ff8a92ea51d4603def18f.tar.gz
kernel-qcow2-util-linux-58dda170fb28d394118ff8a92ea51d4603def18f.tar.xz
kernel-qcow2-util-linux-58dda170fb28d394118ff8a92ea51d4603def18f.zip
libmount: typo fixes
I was reading the code and found these mountinfo typos. Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Diffstat (limited to 'libmount')
-rw-r--r--libmount/src/init.c2
-rw-r--r--libmount/src/monitor.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libmount/src/init.c b/libmount/src/init.c
index fc5745956..1765d3b25 100644
--- a/libmount/src/init.c
+++ b/libmount/src/init.c
@@ -26,7 +26,7 @@ UL_DEBUG_DEFINE_MASKNAMES(libmount) =
{ "help", MNT_DEBUG_HELP, "this help" },
{ "locks", MNT_DEBUG_LOCKS, "mtab and utab locking" },
{ "options", MNT_DEBUG_OPTIONS, "mount options parsing" },
- { "tab", MNT_DEBUG_TAB, "fstab, mtab, moutninfo routines" },
+ { "tab", MNT_DEBUG_TAB, "fstab, mtab, mounninfo routines" },
{ "update", MNT_DEBUG_UPDATE, "mtab, utab updates" },
{ "utils", MNT_DEBUG_UTILS, "misc library utils" },
{ "monitor", MNT_DEBUG_MONITOR, "mount tables monitor" },
diff --git a/libmount/src/monitor.c b/libmount/src/monitor.c
index e11edfe95..cc3854e5c 100644
--- a/libmount/src/monitor.c
+++ b/libmount/src/monitor.c
@@ -524,7 +524,7 @@ int mnt_monitor_enable_kernel(struct libmnt_monitor *mn, int enable)
* Unfortunately, use EPOLLIN for mountinfo is tricky because in this
* case kernel returns events all time (we don't read from the FD).
* The solution is to use also edge-triggered (EPOLLET) flag, then
- * kernel generate events on moutinfo changes only. The disadvantage is
+ * kernel generate events on mountinfo changes only. The disadvantage is
* that we have to drain initial event generated by EPOLLIN after
* epoll_ctl(ADD). See monitor_modify_epoll().
*/