]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: typo fixes
authorKir Kolyshkin <kir@openvz.org>
Thu, 3 Sep 2015 00:48:56 +0000 (17:48 -0700)
committerKir Kolyshkin <kir@openvz.org>
Thu, 3 Sep 2015 01:45:06 +0000 (18:45 -0700)
I was reading the code and found these mountinfo typos.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
libmount/src/init.c
libmount/src/monitor.c

index fc57459569438a4154bb939bb9383dfd3b6e6944..1765d3b256985be8595f0dcd6e3d60c5f9845a37 100644 (file)
@@ -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" },
index e11edfe9549b7c6f01be24f094e7896cbd6c12cb..cc3854e5c319b049b36c27463e73ad1621315c78 100644 (file)
@@ -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().
         */