forked from pool/mtools
7d0c0d2e11
OBS-URL: https://build.opensuse.org/package/show/Base:System/mtools?expand=0&rev=93e46c7ab8b38e2b4a7cf2185017d1aa
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);
|