mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-22 10:29:31 +00:00
21 lines
294 B
C
21 lines
294 B
C
/*
|
|
*
|
|
* (c) 2004-2007 Laurent Vivier <Laurent@lvivier.info>
|
|
*
|
|
*/
|
|
|
|
#include <sys/types.h>
|
|
#include <unistd.h>
|
|
|
|
#include "libmap.h"
|
|
|
|
int map_block0_write(map_t *map)
|
|
{
|
|
int ret;
|
|
|
|
ret = map->device->write_sector(map->device->data, 0,
|
|
&map->drivers, sizeof(map->drivers));
|
|
|
|
return ret;
|
|
}
|