]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libsmartcols: don't use fprintf() when count cells
authorKarel Zak <kzak@redhat.com>
Mon, 7 Dec 2015 11:22:29 +0000 (12:22 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 7 Dec 2015 11:22:29 +0000 (12:22 +0100)
commit05c1123bc3d3c4473397dcf73b2b9ef391950c3d
treea93f99b2422afd752951052e2be1aca8a60e5c16
parentdf73852b6ec0d22c947647c03f447ce2edc22904
libsmartcols: don't use fprintf() when count cells

fprintf("%*s") is based on bytes, no cells.

Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols/src/table_print.c