correct call of get_blocksize()

This commit is contained in:
Laurent Vivier 2007-11-01 22:12:38 +00:00
parent eb9c17f5ad
commit d3e4392b75

View File

@ -13,7 +13,7 @@ int map_write(map_t *map, int part)
{
off_t offset;
int ret;
int blocksize = map->device->get_blocksize(map->device);
int blocksize = map->device->get_blocksize(map->device->data);
if (part > map->partition.MapBlkCnt)
return -1;