Skip to content

Commit

Permalink
lib-fs: Fix to previous fs-metawrap commit
Browse files Browse the repository at this point in the history
Argh. I was sure I compiled this before pushing it.
  • Loading branch information
sirainen committed May 27, 2016
1 parent d22b6ae commit f48452d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib-fs/istream-metawrap.c
Expand Up @@ -26,7 +26,7 @@ static int metadata_header_read(struct metawrap_istream *mstream)
if (p == NULL) {
io_stream_set_error(&mstream->istream.iostream,
"Metadata header line is missing ':' at offset %"PRIuUOFF_T,
mstream->istream.v_offset);
mstream->istream.istream.v_offset);
mstream->istream.istream.stream_errno = EINVAL;
return -1;
}
Expand All @@ -40,7 +40,7 @@ static int metadata_header_read(struct metawrap_istream *mstream)
} else {
io_stream_set_error(&mstream->istream.iostream,
"Metadata header is missing ending line at offset %"PRIuUOFF_T,
mstream->istream.v_offset);
mstream->istream.istream.v_offset);
mstream->istream.istream.stream_errno = EINVAL;
return -1;
}
Expand Down

0 comments on commit f48452d

Please sign in to comment.