diff options
author | Ondrej Oprala | 2013-07-30 14:17:46 +0200 |
---|---|---|
committer | Karel Zak | 2013-08-01 11:21:47 +0200 |
commit | 3035ba93af698f28c91acc85ffbfeeeb74b8f8da (patch) | |
tree | 8bc3bd4a86fa2c11c26f237b889641b07aac2274 /libmount/src/tab_update.c | |
parent | dmesg: don't use pager for --follow (diff) | |
download | kernel-qcow2-util-linux-3035ba93af698f28c91acc85ffbfeeeb74b8f8da.tar.gz kernel-qcow2-util-linux-3035ba93af698f28c91acc85ffbfeeeb74b8f8da.tar.xz kernel-qcow2-util-linux-3035ba93af698f28c91acc85ffbfeeeb74b8f8da.zip |
libmount: change tailing to trailing in *_tailing_comments functions
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Diffstat (limited to 'libmount/src/tab_update.c')
-rw-r--r-- | libmount/src/tab_update.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libmount/src/tab_update.c b/libmount/src/tab_update.c index 64d813183..292aa3484 100644 --- a/libmount/src/tab_update.c +++ b/libmount/src/tab_update.c @@ -545,8 +545,8 @@ static int update_table(struct libmnt_update *upd, struct libmnt_table *tb) goto leave; } } - if (tb->comms && mnt_table_get_tailing_comment(tb)) - fputs(mnt_table_get_tailing_comment(tb), f); + if (tb->comms && mnt_table_get_trailing_comment(tb)) + fputs(mnt_table_get_trailing_comment(tb), f); if (fflush(f) != 0) { rc = -errno; @@ -603,8 +603,8 @@ int mnt_table_write_file(struct libmnt_table *tb, FILE *file) if (rc) return rc; } - if (tb->comms && mnt_table_get_tailing_comment(tb)) - fputs(mnt_table_get_tailing_comment(tb), file); + if (tb->comms && mnt_table_get_trailing_comment(tb)) + fputs(mnt_table_get_trailing_comment(tb), file); if (fflush(file) != 0) rc = -errno; |