summaryrefslogtreecommitdiffstats
path: root/libsmartcols
diff options
context:
space:
mode:
authorIgor Gnatenko2016-09-18 11:47:13 +0200
committerIgor Gnatenko2016-09-19 14:13:38 +0200
commitbfc6941ae764dc5305add287463d06692cc94e8d (patch)
tree91939115803ceba5143acce56943b71ea792792f /libsmartcols
parentlibsmartcols: fix comment (diff)
downloadkernel-qcow2-util-linux-bfc6941ae764dc5305add287463d06692cc94e8d.tar.gz
kernel-qcow2-util-linux-bfc6941ae764dc5305add287463d06692cc94e8d.tar.xz
kernel-qcow2-util-linux-bfc6941ae764dc5305add287463d06692cc94e8d.zip
libsmartcols: fix typos in docs
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Diffstat (limited to 'libsmartcols')
-rw-r--r--libsmartcols/src/column.c2
-rw-r--r--libsmartcols/src/line.c10
2 files changed, 6 insertions, 6 deletions
diff --git a/libsmartcols/src/column.c b/libsmartcols/src/column.c
index c83fe1e68..6a3b69bf1 100644
--- a/libsmartcols/src/column.c
+++ b/libsmartcols/src/column.c
@@ -29,7 +29,7 @@
*
* Allocates space for a new column.
*
- * Returns: a pointer to a new struct libscols_cell instance, NULL in case of an ENOMEM error.
+ * Returns: a pointer to a new struct libscols_column instance, NULL in case of an ENOMEM error.
*/
struct libscols_column *scols_new_column(void)
{
diff --git a/libsmartcols/src/line.c b/libsmartcols/src/line.c
index b9e41a70d..f3abb1401 100644
--- a/libsmartcols/src/line.c
+++ b/libsmartcols/src/line.c
@@ -356,7 +356,7 @@ struct libscols_cell *scols_line_get_column_cell(
/**
* scols_line_set_data:
- * @ln: a pointer to a struct libscols_cell instance
+ * @ln: a pointer to a struct libscols_line instance
* @n: number of the cell, whose data is to be set
* @data: actual data to set
*
@@ -373,7 +373,7 @@ int scols_line_set_data(struct libscols_line *ln, size_t n, const char *data)
/**
* scols_line_set_column_data:
- * @ln: a pointer to a struct libscols_cell instance
+ * @ln: a pointer to a struct libscols_line instance
* @cl: column, whose data is to be set
* @data: actual data to set
*
@@ -392,7 +392,7 @@ int scols_line_set_column_data(struct libscols_line *ln,
/**
* scols_line_refer_data:
- * @ln: a pointer to a struct libscols_cell instance
+ * @ln: a pointer to a struct libscols_line instance
* @n: number of the cell which will refer to @data
* @data: actual data to refer to
*
@@ -409,7 +409,7 @@ int scols_line_refer_data(struct libscols_line *ln, size_t n, char *data)
/**
* scols_line_refer_column_data:
- * @ln: a pointer to a struct libscols_cell instance
+ * @ln: a pointer to a struct libscols_line instance
* @cl: column, whose data is to be set
* @data: actual data to refer to
*
@@ -428,7 +428,7 @@ int scols_line_refer_column_data(struct libscols_line *ln,
/**
* scols_copy_line:
- * @ln: a pointer to a struct libscols_cell instance
+ * @ln: a pointer to a struct libscols_line instance
*
* Returns: A newly allocated copy of @ln, NULL in case of an error.
*/