summaryrefslogtreecommitdiff
path: root/daemon/mount.c
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2021-10-15 10:10:56 +0200
committerOndrej Holy <oholy@redhat.com>2021-10-15 10:23:26 +0200
commit5a78b46f1b1f7e0f8e616fbd78c77c20e6f1c1ef (patch)
tree3ee9705fff183552324388069784c015b2101fd1 /daemon/mount.c
parent266745cd9db5f719efced2b6b92183dac0e72339 (diff)
downloadgvfs-5a78b46f1b1f7e0f8e616fbd78c77c20e6f1c1ef.tar.gz
mount: Replace deprecated functionwip/oholy/ci-libsoup3
The `g_spawn_check_exit_status` function is deprecated now and `g_spawn_check_wait_status` should be used instead. Let's make that change and bump the glib dependency accordingly.
Diffstat (limited to 'daemon/mount.c')
-rw-r--r--daemon/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/mount.c b/daemon/mount.c
index db271dd3..41a4b0b7 100644
--- a/daemon/mount.c
+++ b/daemon/mount.c
@@ -419,7 +419,7 @@ child_watch_cb (GPid pid,
GError *error = NULL;
gint code = 0;
- if (!g_spawn_check_exit_status (status, &error))
+ if (!g_spawn_check_wait_status (status, &error))
{
if (error->domain == G_SPAWN_EXIT_ERROR)
code = error->code;