summaryrefslogtreecommitdiff
path: root/libparted/labels/bsd.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-03-08 23:11:53 +0100
committerJim Meyering <jim@meyering.net>2007-03-08 23:11:53 +0100
commitbb853874f2810e2f09e2bb4bfa93aa333ad3dafa (patch)
treef3f41b938f3ad3589d90c16748adcd4b455d45cb /libparted/labels/bsd.c
parent74c0343d822e00aaca5fc2acd5ef29dced2e10f5 (diff)
downloadparted-bb853874f2810e2f09e2bb4bfa93aa333ad3dafa.tar.gz
Use PED_SECTOR_SIZE_DEFAULT not 512
* libparted/arch/beos.c (beos_read, beos_write): * libparted/arch/linux.c (_device_get_length, _device_seek) (linux_read, linux_write, _blkpg_add_partition): * libparted/fs/fat/bootsector.c (fat_boot_sector_read): * libparted/labels/bsd.c (bsd_alloc): * libparted/labels/dos.c (probe_filesystem_for_geom): * libparted/labels/rdb.c (amiga_read):
Diffstat (limited to 'libparted/labels/bsd.c')
-rw-r--r--libparted/labels/bsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libparted/labels/bsd.c b/libparted/labels/bsd.c
index 99822b2..747a9c5 100644
--- a/libparted/labels/bsd.c
+++ b/libparted/labels/bsd.c
@@ -174,7 +174,7 @@ bsd_alloc (const PedDevice* dev)
BSDDiskData* bsd_specific;
BSDRawLabel* label;
- PED_ASSERT(dev->sector_size % 512 == 0, return 0);
+ PED_ASSERT(dev->sector_size % PED_SECTOR_SIZE_DEFAULT == 0, return 0);
disk = _ped_disk_alloc ((PedDevice*)dev, &bsd_disk_type);
if (!disk)