rename an argument of got_privsep_send_index_pack_req() for clarity
diff --git a/lib/privsep.c b/lib/privsep.c
index 8fcc4ca..7a87cf1 100644
--- a/lib/privsep.c
+++ b/lib/privsep.c
@@ -725,14 +725,14 @@ done:
}
const struct got_error *
-got_privsep_send_index_pack_req(struct imsgbuf *ibuf, uint8_t *pack_hash,
+got_privsep_send_index_pack_req(struct imsgbuf *ibuf, uint8_t *pack_sha1,
int fd)
{
const struct got_error *err = NULL;
/* Keep in sync with struct got_imsg_index_pack_request */
if (imsg_compose(ibuf, GOT_IMSG_IDXPACK_REQUEST, 0, 0, fd,
- pack_hash, SHA1_DIGEST_LENGTH) == -1) {
+ pack_sha1, SHA1_DIGEST_LENGTH) == -1) {
err = got_error_from_errno("imsg_compose INDEX_REQUEST");
close(fd);
return err;