libnm-util/tests: fix build for older glib with unknown G_SPAWN_DEFAULT

Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
Thomas Haller 2014-08-04 13:30:37 +02:00
parent 7eb6f5128a
commit 536029a96d

View file

@ -2454,7 +2454,7 @@ test_libnm_linking (void)
int status;
GError *error = NULL;
g_spawn_sync (BUILD_DIR, argv, NULL, G_SPAWN_DEFAULT, NULL, NULL,
g_spawn_sync (BUILD_DIR, argv, NULL, 0 /*G_SPAWN_DEFAULT*/, NULL, NULL,
&out, &err, &status, &error);
g_assert_no_error (error);