Commit Diff


commit - eb7e80a7111220df61c48a0bb0e87f342baf442d
commit + 45c5bd12280f38df8ce2cf82d06beeb15ed80aca
blob - 60d1c064ec02a73113741f1fd4dbd5901fa18aee
blob + ce77de2d5ffd486ef9f5aedd17596e8b91ae64d7
--- libexec/got-fetch-http/got-fetch-http.c
+++ libexec/got-fetch-http/got-fetch-http.c
@@ -84,7 +84,7 @@ bufio_close_sync(struct bufio *bio)
 	do {
 		r = bufio_close(bio);
 		if (r == -1 && errno != EAGAIN)
-			errx(1, "bufio_read: %s", bufio_io_err(bio));
+			errx(1, "bufio_close: %s", bufio_io_err(bio));
 	} while (r == -1 && errno == EAGAIN);
 }