summaryrefslogtreecommitdiff
path: root/tests/threads/basic.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2018-12-27 13:47:34 -0600
committerEdward Thomson <ethomson@edwardthomson.com>2019-01-22 22:30:35 +0000
commitf673e232afe22eb865cdc915e55a2df6493f0fbb (patch)
treee79e3e6fb1e1d78367679aea75e66c8141b4daa8 /tests/threads/basic.c
parent647dfdb42d06514a85c1499f1be88a32b8a4c24b (diff)
downloadlibgit2-f673e232afe22eb865cdc915e55a2df6493f0fbb.tar.gz
git_error: use new names in internal APIs and usage
Move to the `git_error` name in the internal API for error-related functions.
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;
}