]> git.ipfire.org Git - thirdparty/util-linux.git/commit
partx: remove __NCOLUMNS
authorDavidlohr Bueso <dave@gnu.org>
Wed, 26 Oct 2011 13:57:38 +0000 (15:57 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 2 Nov 2011 15:17:19 +0000 (16:17 +0100)
commit10ebfeeaf4cd093e25488bf4d95bebf10157ec62
treef6743657342299dee1893fd63dcd214030327f4d
parente31741980762744352890d37522cbf4dd0ced9c4
partx: 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>
partx/partx.c