diff options
author | Karel Zak | 2013-06-18 15:03:26 +0200 |
---|---|---|
committer | Karel Zak | 2013-09-16 16:47:02 +0200 |
commit | f917738efaa60bd1390482d2959986393cea4737 (patch) | |
tree | 8a34b741b6c64776197376feb26ea4118a8ad45e /libblkid/src/partitions/minix.c | |
parent | fdisk: (dos) rename struct partition to dos_partition (diff) | |
download | kernel-qcow2-util-linux-f917738efaa60bd1390482d2959986393cea4737.tar.gz kernel-qcow2-util-linux-f917738efaa60bd1390482d2959986393cea4737.tar.xz kernel-qcow2-util-linux-f917738efaa60bd1390482d2959986393cea4737.zip |
libblkid: move MBR definitions to include/pt-mbr.h
Diffstat (limited to 'libblkid/src/partitions/minix.c')
-rw-r--r-- | libblkid/src/partitions/minix.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libblkid/src/partitions/minix.c b/libblkid/src/partitions/minix.c index f76c86aeb..5730f44c5 100644 --- a/libblkid/src/partitions/minix.c +++ b/libblkid/src/partitions/minix.c @@ -12,7 +12,6 @@ #include <stdint.h> #include "partitions.h" -#include "dos.h" #include "minix.h" static int probe_minix_pt(blkid_probe pr, @@ -47,9 +46,9 @@ static int probe_minix_pt(blkid_probe pr, /* caller does not ask for details about partitions */ return 0; - p = (struct dos_partition *) (data + BLKID_MSDOS_PT_OFFSET); + p = (struct dos_partition *) (data + MBR_PT_OFFSET); - tab = blkid_partlist_new_parttable(ls, "minix", BLKID_MSDOS_PT_OFFSET); + tab = blkid_partlist_new_parttable(ls, "minix", MBR_PT_OFFSET); if (!tab) goto err; |