correct names

This commit is contained in:
Laurent Vivier 2007-10-09 20:13:57 +00:00
parent 79d62ad6ba
commit f76443357e

View File

@ -12,7 +12,7 @@
#include "libmap.h"
int map_bootblock_write(map_t* map, off_t block, size_t nb, char* sector)
int map_partition_write(map_t* map, off_t block, size_t nb, char* sector)
{
off_t offset;
int ret;
@ -24,7 +24,7 @@ int map_bootblock_write(map_t* map, off_t block, size_t nb, char* sector)
* FLOPPY_SECTOR_SIZE;
ret = map->device->write_sector(map->device,
offset, bootblock,
offset, sector,
nb * FLOPPY_SECTOR_SIZE);
return ret;