fdisk: use strtoul[l] instead of atoi, closes 11176
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 25 Jul 2018 10:08:26 +0000 (12:08 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 30 Jul 2018 16:02:27 +0000 (18:02 +0200)
commit096ccd6a691f3c5e5cdae1a67fd45b9340b14f27
treed13e09d43ee04b9652271ea085b4d20897ff3dcd
parentd674b2e2aeb10f0755a197084f962287740fbc50
fdisk: use strtoul[l] instead of atoi, closes 11176

Couldn't create partitions bigger than 1TB (when using 512 bytes sectors,
on 32 bits architectures).

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