Commit Diff
--- libexec/got-fetch-http/got-fetch-http.c +++ libexec/got-fetch-http/got-fetch-http.c @@ -86,7 +86,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); }