diff options
-rw-r--r-- | gentoobrowse-api/service/utils/git.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoobrowse-api/service/utils/git.cpp b/gentoobrowse-api/service/utils/git.cpp index 6e2e04e..fa0e191 100644 --- a/gentoobrowse-api/service/utils/git.cpp +++ b/gentoobrowse-api/service/utils/git.cpp @@ -9,7 +9,7 @@ namespace Gentoo { void throwError(void * const func, int err) { - const git_error * e = giterr_last(); + const git_error * e = git_error_last(); char ** fn = backtrace_symbols(&func, 1); assert(fn); assert(*fn); |