forked from pool/mtools
13 lines
344 B
Diff
13 lines
344 B
Diff
|
Index: mformat.c
|
||
|
===================================================================
|
||
|
--- mformat.c.orig
|
||
|
+++ mformat.c
|
||
|
@@ -1163,6 +1163,7 @@ void mformat(int argc, char **argv, int
|
||
|
exit(1);
|
||
|
}
|
||
|
keepBoot = 1;
|
||
|
+ close(fd);
|
||
|
}
|
||
|
if(!keepBoot && !(used_dev.use_2m & 0x7f)) {
|
||
|
memset(boot.characters, '\0', Fs.sector_size);
|