'geterr' -> 'giterr'
diff --git a/src/remote.c b/src/remote.c
index 714e2f0..a873a27 100644
--- a/src/remote.c
+++ b/src/remote.c
@@ -133,7 +133,7 @@ int git_remote_load(git_remote **out, git_repository *repo, const char *name)
goto cleanup;
if (!val) {
- geterr_set(GITERR_INVALID, "Malformed remote '%s' - missing URL", name);
+ giterr_set(GITERR_INVALID, "Malformed remote '%s' - missing URL", name);
error = -1;
goto cleanup;
}