summaryrefslogtreecommitdiff
path: root/glnx-lockfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'glnx-lockfile.c')
-rw-r--r--glnx-lockfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glnx-lockfile.c b/glnx-lockfile.c
index 2956eda..f1d52de 100644
--- a/glnx-lockfile.c
+++ b/glnx-lockfile.c
@@ -61,7 +61,7 @@
*/
gboolean
glnx_make_lock_file(int dfd, const char *p, int operation, GLnxLockFile *out_lock, GError **error) {
- glnx_fd_close int fd = -1;
+ glnx_autofd int fd = -1;
g_autofree char *t = NULL;
int r;