]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libfdisk: fix partition calculation for BLKPG_* ioctls
authorKarel Zak <kzak@redhat.com>
Wed, 6 May 2020 11:32:46 +0000 (13:32 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 15 May 2020 10:24:38 +0000 (12:24 +0200)
commitb3f25dce328d6a2eeab64ce1ded20055eb24d298
tree8361aff35ede53efde01a34c085baec4559a599c
parent3f3c32139cfc336cdb2189afb974f0e985afc2b2
libfdisk: fix partition calculation for BLKPG_* ioctls

The include/partx.h interface we use in util-linux uses 512-byte
sectors, but libfdisk uses real sector sizes.

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk/src/context.c