summaryrefslogtreecommitdiff
path: root/docs/threading.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/threading.md')
-rw-r--r--docs/threading.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/threading.md b/docs/threading.md
index 430bca858..7dd37444f 100644
--- a/docs/threading.md
+++ b/docs/threading.md
@@ -22,7 +22,7 @@ snapshots.
Error messages
--------------
-The error message is thread-local. The `giterr_last()` call must
+The error message is thread-local. The `git_error_last()` call must
happen on the same thread as the error in order to get the
message. Often this will be the case regardless, but if you use
something like the [GCD](http://en.wikipedia.org/wiki/Grand_Central_Dispatch)