&mirror_end);
if (rc < 0) {
free(buf);
+ llapi_error(LLAPI_MSG_ERROR, rc,
+ "cannot find source mirror");
return rc;
}
src = rc;
}
if (bytes_read < 0) {
rc = bytes_read;
+ llapi_error(LLAPI_MSG_ERROR, rc,
+ "error reading bytes %ld-%ld of mirror %u",
+ pos, to_read, src);
break;
}
total_bytes_read += bytes_read;