summaryrefslogtreecommitdiff
path: root/tests/win32/longpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/win32/longpath.c')
-rw-r--r--tests/win32/longpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/win32/longpath.c b/tests/win32/longpath.c
index f5a95346b..bf5aac724 100644
--- a/tests/win32/longpath.c
+++ b/tests/win32/longpath.c
@@ -38,7 +38,7 @@ void assert_name_too_long(void)
size_t expected_len, actual_len;
char *expected_msg;
- err = giterr_last();
+ err = git_error_last();
actual_len = strlen(err->message);
expected_msg = git_win32_get_error_message(ERROR_FILENAME_EXCED_RANGE);