summaryrefslogtreecommitdiff
path: root/src/trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/trace.c')
-rw-r--r--src/trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trace.c b/src/trace.c
index 080d1e891..f2f353891 100644
--- a/src/trace.c
+++ b/src/trace.c
@@ -31,7 +31,7 @@ int git_trace_set(git_trace_level_t level, git_trace_callback callback)
GIT_UNUSED(level);
GIT_UNUSED(callback);
- giterr_set(GITERR_INVALID,
+ git_error_set(GIT_ERROR_INVALID,
"this version of libgit2 was not built with tracing.");
return -1;
#endif