*: remove some uses of argc
[oweals/busybox.git] / e2fsprogs / old_e2fsprogs / blkid / save.c
index 3600260e22c03122666bfcc0c8532acac4002982..e60cca445f3651b0465975761493807fa975af56 100644 (file)
@@ -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);