From d58b315704bf21c3552d1b9b0743cfd6585ef972 Mon Sep 17 00:00:00 2001 From: Ondrej Oprala Date: Fri, 2 Aug 2013 12:23:50 +0200 Subject: libmount: fix typos Signed-off-by: Ondrej Oprala --- libmount/src/tab_diff.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libmount/src/tab_diff.c') diff --git a/libmount/src/tab_diff.c b/libmount/src/tab_diff.c index f01f889f8..0ebdc1110 100644 --- a/libmount/src/tab_diff.c +++ b/libmount/src/tab_diff.c @@ -25,7 +25,7 @@ struct libmnt_tabdiff { int nchanges; /* number of changes */ struct list_head changes; /* list with modified entries */ - struct list_head unused; /* list with unuused entries */ + struct list_head unused; /* list with unused entries */ }; /** @@ -89,7 +89,7 @@ void mnt_free_tabdiff(struct libmnt_tabdiff *df) * * The options @old_fs, @new_fs and @oper are optional. * - * Returns: 0 on success, negative number in case of error or 1 at end of list. + * Returns: 0 on success, negative number in case of error or 1 at the end of list. */ int mnt_tabdiff_next_change(struct libmnt_tabdiff *df, struct libmnt_iter *itr, struct libmnt_fs **old_fs, struct libmnt_fs **new_fs, int *oper) @@ -124,9 +124,9 @@ static int tabdiff_reset(struct libmnt_tabdiff *df) { assert(df); - DBG(DIFF, mnt_debug_h(df, "reseting")); + DBG(DIFF, mnt_debug_h(df, "resetting")); - /* zeroize all entries and move them to the list of unuused + /* zeroize all entries and move them to the list of unused */ while (!list_empty(&df->changes)) { struct tabdiff_entry *de = list_entry(df->changes.next, -- cgit v1.2.3-55-g7522