mirror of
https://github.com/vivier/EMILE.git
synced 2024-10-31 20:05:01 +00:00
correct call of get_blocksize()
This commit is contained in:
parent
eb9c17f5ad
commit
d3e4392b75
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user