]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libsmartcols: use SCOLS_FL_RIGHT in sample
authorKarel Zak <kzak@redhat.com>
Wed, 31 Aug 2016 13:51:03 +0000 (15:51 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 31 Aug 2016 13:51:03 +0000 (15:51 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols/samples/maxout.c

index 5718870e6b56b48bf89c5ce35e2b93fc8fed3b9e..07a05e13ff27075f8cb2806f6189b964aa5bec3d 100644 (file)
@@ -37,7 +37,7 @@ int main(int argc, char *argv[])
                goto done;
        if (!scols_table_new_column(tb, "FOO", 0, 0))
                goto done;
-       if (!scols_table_new_column(tb, "RIGHT", 0, /*SCOLS_FL_RIGHT*/0 ))
+       if (!scols_table_new_column(tb, "RIGHT", 0, SCOLS_FL_RIGHT))
                goto done;
 
        while (nlines--) {