mirror of
https://github.com/vivier/EMILE.git
synced 2025-08-15 07:27:41 +00:00
correct names
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
#include "libmap.h"
|
#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;
|
off_t offset;
|
||||||
int ret;
|
int ret;
|
||||||
@@ -24,7 +24,7 @@ int map_bootblock_write(map_t* map, off_t block, size_t nb, char* sector)
|
|||||||
* FLOPPY_SECTOR_SIZE;
|
* FLOPPY_SECTOR_SIZE;
|
||||||
|
|
||||||
ret = map->device->write_sector(map->device,
|
ret = map->device->write_sector(map->device,
|
||||||
offset, bootblock,
|
offset, sector,
|
||||||
nb * FLOPPY_SECTOR_SIZE);
|
nb * FLOPPY_SECTOR_SIZE);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user