fix wrong function in error string of emitdelta()
diff --git a/lib/deltify.c b/lib/deltify.c
index 79d8be1..b7d25c9 100644
--- a/lib/deltify.c
+++ b/lib/deltify.c
@@ -310,7 +310,7 @@ emitdelta(struct got_delta_instruction **deltas, size_t *nalloc, int *ndeltas,
p = reallocarray(*deltas, *nalloc + alloc_chunk_size,
sizeof(struct got_delta_instruction));
if (p == NULL)
- return got_error_from_errno("realloc");
+ return got_error_from_errno("reallocarray");
*deltas = p;
*nalloc += alloc_chunk_size;
}