]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsblk: remove __NCOLUMNS
authorDavidlohr Bueso <dave@gnu.org>
Wed, 26 Oct 2011 13:58:18 +0000 (15:58 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 2 Nov 2011 15:18:56 +0000 (16:18 +0100)
commit507d39c28765a2769ecb394dc644bf914e615576
treec079969406967c2498e9d2f9bb7ccccf368ccce8
parent10ebfeeaf4cd093e25488bf4d95bebf10157ec62
lsblk: remove __NCOLUMNS

We use ARRAY_SIZE() instead to define the amount of available columns.

[kzak@redhat.com: - fix compiler warnings [-Wsign-compare]]

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/lsblk.c