diff options
Diffstat (limited to 'bitmap.c')
-rw-r--r-- | bitmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -390,6 +390,7 @@ int CreateBitmap(char *filename, int force, char uuid[16], } rv = 0; + fflush(fp); /* make the file be the right size (well, to the nearest byte) */ if (ftruncate(fileno(fp), filesize)) perror("ftrunace"); |