From 58dda170fb28d394118ff8a92ea51d4603def18f Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Wed, 2 Sep 2015 17:48:56 -0700 Subject: [PATCH] libmount: typo fixes I was reading the code and found these mountinfo typos. Signed-off-by: Kir Kolyshkin --- libmount/src/init.c | 2 +- libmount/src/monitor.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(). */ -- 2.47.2