From b0187300876c2310125f80fa368abb5c9b1c8d56 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Tue, 16 Feb 2021 15:08:47 +0000 Subject: [PATCH] tests: Add missing NULL terminator to spawn-singlethread test This should have been in commit b31f3f5f806b2185ca15328e30f5d255de23be67. Signed-off-by: Philip Withnall --- glib/tests/spawn-singlethread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/tests/spawn-singlethread.c b/glib/tests/spawn-singlethread.c index 9a18c0640..51a1da514 100644 --- a/glib/tests/spawn-singlethread.c +++ b/glib/tests/spawn-singlethread.c @@ -439,7 +439,7 @@ test_spawn_fd_assignment_clash (void) const guint n_fds = 10; gint source_fds[n_fds]; gint target_fds[n_fds]; - const gchar *argv[] = { "/nonexistent" }; + const gchar *argv[] = { "/nonexistent", NULL }; gboolean retval; GError *local_error = NULL; struct stat statbuf;