diff options
Diffstat (limited to 'gpt-utils')
-rw-r--r-- | gpt-utils/gpt-utils.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gpt-utils/gpt-utils.cpp b/gpt-utils/gpt-utils.cpp index 633b34b0..ff6e535f 100644 --- a/gpt-utils/gpt-utils.cpp +++ b/gpt-utils/gpt-utils.cpp @@ -1533,6 +1533,7 @@ int gpt_disk_commit(struct gpt_disk *disk) __func__); goto error; } + fsync(fd); close(fd); return 0; error: |