diff options
Diffstat (limited to 'examples/common.c')
-rw-r--r-- | examples/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/common.c b/examples/common.c index 4e0949b94..e20767a9e 100644 --- a/examples/common.c +++ b/examples/common.c @@ -24,7 +24,7 @@ void check_lg2(int error, const char *message, const char *extra) if (!error) return; - if ((lg2err = giterr_last()) != NULL && lg2err->message != NULL) { + if ((lg2err = git_error_last()) != NULL && lg2err->message != NULL) { lg2msg = lg2err->message; lg2spacer = " - "; } |