summaryrefslogtreecommitdiff
path: root/tests/threads/basic.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/threads/basic.c')
-rw-r--r--tests/threads/basic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/threads/basic.c b/tests/threads/basic.c
index 9ce740cf9..ed4fd2f9b 100644
--- a/tests/threads/basic.c
+++ b/tests/threads/basic.c
@@ -38,7 +38,7 @@ void test_threads_basic__multiple_init(void)
static void *set_error(void *dummy)
{
- giterr_set(GITERR_INVALID, "oh no, something happened!\n");
+ git_error_set(GIT_ERROR_INVALID, "oh no, something happened!\n");
return dummy;
}