summaryrefslogtreecommitdiff
blob: f60a5bc274893ee5eabf288915b895e99cef1c74 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- partimage-0.6.4/src/client/misc.cpp.pix	2004-02-05 21:19:00.000000000 +0100
+++ partimage-0.6.4/src/client/misc.cpp	2005-01-21 11:43:19.439462188 +0100
@@ -294,6 +294,8 @@
 	nRes = fwrite(mbrOriginal[dwOriginalMbrNb].cData+MBR_SIZE_BOOT, MBR_SIZE_TABLE+2, 1, fDevice); // table + 0xAA55
     }
 
+  fflush(fDevice);
+
   // re-read partition table
   if (ioctl(fileno(fDevice), BLKRRPART))
     {