p = strchr(line, ':');
if (p == NULL) {
io_stream_set_error(&mstream->istream.iostream,
- "Metadata header line is missing ':'");
+ "Metadata header line is missing ':' at offset %"PRIuUOFF_T,
+ mstream->istream.v_offset);
mstream->istream.istream.stream_errno = EINVAL;
return -1;
}
mstream->istream.parent->stream_errno;
} else {
io_stream_set_error(&mstream->istream.iostream,
- "Metadata header is missing ending line");
+ "Metadata header is missing ending line at offset %"PRIuUOFF_T,
+ mstream->istream.v_offset);
mstream->istream.istream.stream_errno = EINVAL;
return -1;
}