From: Kir Kolyshkin Date: Thu, 3 Sep 2015 00:48:56 +0000 (-0700) Subject: libmount: typo fixes X-Git-Tag: v2.27~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58dda170fb28d394118ff8a92ea51d4603def18f;p=thirdparty%2Futil-linux.git libmount: typo fixes I was reading the code and found these mountinfo typos. Signed-off-by: Kir Kolyshkin --- diff --git a/libmount/src/init.c b/libmount/src/init.c index fc57459569..1765d3b256 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 e11edfe954..cc3854e5c3 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(). */