fdisk: sanitize partition name printing; drop "Code" column; get rid of one static var
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 27 Nov 2016 05:13:43 +0000 (06:13 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 27 Nov 2016 05:13:43 +0000 (06:13 +0100)
commit29516ac0e41fc41dd15b7d0c67bd160f03d21bbb
tree5c5df00c64e1ed9361243540657e3391c69004c2
parent351ab8278e9719cfdc2abb348017b4e5909bcee8
fdisk: sanitize partition name printing; drop "Code" column; get rid of one static var

function                                             old     new   delta
list_table                                          2335    2373     +38
fill_bounds                                          131     128      -3
part_array_len                                         4       -      -4
get_boot                                            1584    1574     -10
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 1/2 up/down: 38/-17)             Total: 21 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/fdisk.c
util-linux/fdisk_gpt.c