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>
Wed, 25 Jul 2018 10:08:26 +0000 (12:08 +0200)
commit163e637ffb47425d9f5027755b7cb4877d77b0cb
tree6be5abf74361fc15470099ebfe48d192ba49fdd8
parent81de30de05beebabfa72f2a01ec4f33e9a1923e3
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