Write out 15 sectors of boot code.

This commit is contained in:
Poul-Henning Kamp 2002-10-30 20:52:07 +00:00
parent 27072bf00c
commit ae59d02e12

View File

@ -89,6 +89,10 @@ Write_Disk(const struct disk *d1)
}
write_block(fd, 0, sl, sizeof *sl);
for(i = 1; i < 16; i++)
write_block(fd, i * 512, d1->boot1 + 512 * (i - 1), 512);
close(fd);
return 0;
}