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 65a1558..fcda84c 100644
--- a/glnx-lockfile.c
+++ b/glnx-lockfile.c
@@ -129,7 +129,7 @@ glnx_make_lock_file(int dfd, const char *p, int operation, GLnxLockFile *out_loc
out_lock->initialized = TRUE;
out_lock->dfd = dfd;
out_lock->path = g_steal_pointer (&t);
- out_lock->fd = glnx_steal_fd (&fd);
+ out_lock->fd = g_steal_fd (&fd);
out_lock->operation = operation;
return TRUE;
}