summaryrefslogtreecommitdiffstats
path: root/libmount/src/tab_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmount/src/tab_parse.c')
-rw-r--r--libmount/src/tab_parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmount/src/tab_parse.c b/libmount/src/tab_parse.c
index 527e14ee2..f3947020c 100644
--- a/libmount/src/tab_parse.c
+++ b/libmount/src/tab_parse.c
@@ -404,10 +404,10 @@ static int append_comment(struct libmnt_table *tb,
if (intro)
rc = mnt_table_append_intro_comment(tb, comm);
else if (eof) {
- rc = mnt_table_set_tailing_comment(tb,
+ rc = mnt_table_set_trailing_comment(tb,
mnt_fs_get_comment(fs));
if (!rc)
- rc = mnt_table_append_tailing_comment(tb, comm);
+ rc = mnt_table_append_trailing_comment(tb, comm);
if (!rc)
rc = mnt_fs_set_comment(fs, NULL);
} else