forked from pool/mtools
363b4be56c
Copy from Base:System/mtools based on submit request 20445 from user pgajdos OBS-URL: https://build.opensuse.org/request/show/20445 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mtools?expand=0&rev=11
11 lines
227 B
Diff
11 lines
227 B
Diff
--- mformat.c
|
|
+++ mformat.c
|
|
@@ -1160,6 +1160,7 @@
|
|
}
|
|
read(fd, buf, blocksize);
|
|
keepBoot = 1;
|
|
+ close(fd);
|
|
}
|
|
if(!keepBoot && !(used_dev.use_2m & 0x7f)) {
|
|
memset((char *)boot, '\0', Fs.sector_size);
|