Commit Diff


commit - 454711903eeb8fe10dcb57e44a50b268eb3e6463
commit + a46b549764762c6d1ef465471d38ed2d5e152543
blob - ce77de2d5ffd486ef9f5aedd17596e8b91ae64d7
blob + 1c4ff32948b7d177d38ecc72af4c48171945dfd4
--- libexec/got-fetch-http/got-fetch-http.c
+++ libexec/got-fetch-http/got-fetch-http.c
@@ -195,7 +195,7 @@ http_open(struct bufio *bio, int https, const char *me
 	do {
 		r = bufio_write(bio);
 		if (r == -1 && errno != EAGAIN)
-			errx(1, "bufio_read: %s", bufio_io_err(bio));
+			errx(1, "bufio_write: %s", bufio_io_err(bio));
 	} while (bio->wbuf.len != 0);
 
 	return 0;