diff options
Diffstat (limited to 'e2fsprogs/old_e2fsprogs/blkid/save.c')
-rw-r--r-- | e2fsprogs/old_e2fsprogs/blkid/save.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/e2fsprogs/old_e2fsprogs/blkid/save.c b/e2fsprogs/old_e2fsprogs/blkid/save.c index 3600260..e60cca4 100644 --- a/e2fsprogs/old_e2fsprogs/blkid/save.c +++ b/e2fsprogs/old_e2fsprogs/blkid/save.c @@ -95,7 +95,7 @@ int blkid_flush_cache(blkid_cache cache) sprintf(tmp, "%s-XXXXXX", filename); fd = mkstemp(tmp); if (fd >= 0) { - file = fdopen(fd, "w"); + file = xfdopen_for_write(fd); opened = tmp; } fchmod(fd, 0644); |