Commit 9b45e112d9c37d7cae9eeb9c108cbf655f39e411

Stefan Sperling 2020-03-18T16:10:32

remove redundant colon from error message

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/libexec/got-fetch-pack/got-fetch-pack.c b/libexec/got-fetch-pack/got-fetch-pack.c
index fd5a895..de9d479 100644
--- a/libexec/got-fetch-pack/got-fetch-pack.c
+++ b/libexec/got-fetch-pack/got-fetch-pack.c
@@ -308,7 +308,7 @@ fetch_pack(int fd, int packfd, struct got_object_id *packid,
 	while (1) {
 		n = readpkt(fd, buf, sizeof(buf));
 		if (n == -1){
-			err = got_error_from_errno("readpkt:");
+			err = got_error_from_errno("readpkt");
 			goto done;
 		}
 		if (n == 0)