aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/test-qga.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/test-qga.c')
-rw-r--r--tests/unit/test-qga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test-qga.c b/tests/unit/test-qga.c
index b27c77a..a05a462 100644
--- a/tests/unit/test-qga.c
+++ b/tests/unit/test-qga.c
@@ -60,7 +60,7 @@ fixture_setup(TestFixture *fixture, gconstpointer data, gchar **envp)
fixture->loop = g_main_loop_new(NULL, FALSE);
fixture->test_dir = g_strdup("/tmp/qgatest.XXXXXX");
- g_assert_nonnull(mkdtemp(fixture->test_dir));
+ g_assert_nonnull(g_mkdtemp(fixture->test_dir));
path = g_build_filename(fixture->test_dir, "sock", NULL);
cwd = g_get_current_dir();