EMILE/libmap/map_bootblock_write.c
Laurent Vivier 9bd9755dbb Update email address
Signed-off-by: Laurent Vivier <Laurent@Vivier.EU>
2013-09-05 14:45:27 +02:00

19 lines
309 B
C

/*
*
* (c) 2004-2007 Laurent Vivier <Laurent@Vivier.EU>
*
*/
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
#include <unistd.h>
#include "libmap.h"
int map_bootblock_write(map_t* map, char* bootblock)
{
return map_write_sector(map, 0, bootblock, BOOTBLOCK_SIZE);
}