summaryrefslogtreecommitdiff
path: root/src/strmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/strmap.c')
-rw-r--r--src/strmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strmap.c b/src/strmap.c
index cee7f69e5..20b14acf3 100644
--- a/src/strmap.c
+++ b/src/strmap.c
@@ -21,7 +21,7 @@ __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, k
int git_strmap_alloc(git_strmap **map)
{
if ((*map = kh_init(str)) == NULL) {
- giterr_set_oom();
+ git_error_set_oom();
return -1;
}