improve error message on short packfile
diff --git a/libexec/got-fetch-pack/got-fetch-pack.c b/libexec/got-fetch-pack/got-fetch-pack.c
index e2d60c1..17c6151 100644
--- a/libexec/got-fetch-pack/got-fetch-pack.c
+++ b/libexec/got-fetch-pack/got-fetch-pack.c
@@ -224,7 +224,7 @@ check_pack_hash(int fd, size_t sz, uint8_t *hcomp)
ssize_t n, r, nr;
if (sz < sizeof(struct got_packfile_hdr) + SHA1_DIGEST_LENGTH)
- return got_error(GOT_ERR_BAD_PACKFILE);
+ return got_error_msg(GOT_ERR_BAD_PACKFILE, "short packfile");
n = 0;
SHA1Init(&ctx);