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.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.c')
-rw-r--r-- | libmount/src/tab.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libmount/src/tab.c b/libmount/src/tab.c index 20028a641..653c15d3d 100644 --- a/libmount/src/tab.c +++ b/libmount/src/tab.c @@ -137,7 +137,7 @@ int mnt_table_get_nents(struct libmnt_table *tb) * mnt_table_get_intro_comment(). The intro and the comment of the first fstab * entry has to be separated by blank line. The filesystem comments are * accessible by mnt_fs_get_comment(). The tailing fstab comment is accessible - * by mnt_table_get_tailing_comment(). + * by mnt_table_get_trailing_comment(). * * <informalexample> * <programlisting> @@ -216,26 +216,26 @@ int mnt_table_append_intro_comment(struct libmnt_table *tb, const char *comm) } /** - * mnt_table_get_tailing_comment: + * mnt_table_get_trailing_comment: * @tb: pointer to tab * * Returns: table tailing comment */ -const char *mnt_table_get_tailing_comment(struct libmnt_table *tb) +const char *mnt_table_get_trailing_comment(struct libmnt_table *tb) { assert(tb); return tb ? tb->comm_tail : NULL; } /** - * mnt_table_set_tailing_comment + * mnt_table_set_trailing_comment * @tb: pointer to tab * * Sets tailing comment in table. * * Returns: 0 on success or negative number in case of error. */ -int mnt_table_set_tailing_comment(struct libmnt_table *tb, const char *comm) +int mnt_table_set_trailing_comment(struct libmnt_table *tb, const char *comm) { char *p = NULL; @@ -253,7 +253,7 @@ int mnt_table_set_tailing_comment(struct libmnt_table *tb, const char *comm) } /** - * mnt_table_append_tailing_comment: + * mnt_table_append_trailing_comment: * @tb: pointer to tab * @comm: comment of NULL * @@ -261,7 +261,7 @@ int mnt_table_set_tailing_comment(struct libmnt_table *tb, const char *comm) * * Returns: 0 on success or negative number in case of error. */ -int mnt_table_append_tailing_comment(struct libmnt_table *tb, const char *comm) +int mnt_table_append_trailing_comment(struct libmnt_table *tb, const char *comm) { assert(tb); if (!tb) @@ -1315,9 +1315,9 @@ int test_parse(struct libmnt_test *ts, int argc, char *argv[]) while(mnt_table_next_fs(tb, itr, &fs) == 0) mnt_fs_print_debug(fs, stdout); - if (mnt_table_get_tailing_comment(tb)) + if (mnt_table_get_trailing_comment(tb)) fprintf(stdout, "Trailing comment:\n\"%s\"\n", - mnt_table_get_tailing_comment(tb)); + mnt_table_get_trailing_comment(tb)); rc = 0; done: mnt_free_iter(itr); |