From 5a78b46f1b1f7e0f8e616fbd78c77c20e6f1c1ef Mon Sep 17 00:00:00 2001 From: Ondrej Holy Date: Fri, 15 Oct 2021 10:10:56 +0200 Subject: mount: Replace deprecated function 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. --- daemon/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'daemon/mount.c') 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; -- cgit v1.2.1