summaryrefslogtreecommitdiffstats
path: root/libsmartcols/src/table.c
diff options
context:
space:
mode:
authorOndrej Oprala2014-03-27 13:19:01 +0100
committerKarel Zak2014-04-03 12:29:18 +0200
commit6e792bb6c073167e6e2e9fa9c5a544d766ffb86e (patch)
treebcaa39ba5e21753eead1462a11371198c2306ab8 /libsmartcols/src/table.c
parentlibsmartcols: documentation (diff)
downloadkernel-qcow2-util-linux-6e792bb6c073167e6e2e9fa9c5a544d766ffb86e.tar.gz
kernel-qcow2-util-linux-6e792bb6c073167e6e2e9fa9c5a544d766ffb86e.tar.xz
kernel-qcow2-util-linux-6e792bb6c073167e6e2e9fa9c5a544d766ffb86e.zip
libsmartcols: fix a usage example
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Diffstat (limited to 'libsmartcols/src/table.c')
-rw-r--r--libsmartcols/src/table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsmartcols/src/table.c b/libsmartcols/src/table.c
index ee55aa052..d26eee8e6 100644
--- a/libsmartcols/src/table.c
+++ b/libsmartcols/src/table.c
@@ -495,9 +495,9 @@ int scols_table_next_line(struct libscols_table *tb,
* This is shortcut for
*
* ln = scols_new_line();
- * scols_line_set_....(cl, ...);
* scols_table_add_line(tb, ln);
-
+ * scols_line_add_child(parent, ln);
+ *
*
* Returns: newly allocate line
*/