diff options
Diffstat (limited to 'lib/io/unix')
| -rw-r--r-- | lib/io/unix/istream.c | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/lib/io/unix/istream.c b/lib/io/unix/istream.c index 5898141..e0b728c 100644 --- a/lib/io/unix/istream.c +++ b/lib/io/unix/istream.c @@ -10,7 +10,6 @@ typedef struct {  	istream_t base;  	char *path;  	int fd; -	bool eof;  	sqfs_u8 buffer[BUFSZ];  } file_istream_t; @@ -27,7 +26,7 @@ static int file_precache(istream_t *strm)  		ret = read(file->fd, strm->buffer + strm->buffer_used, diff);  		if (ret == 0) { -			file->eof = true; +			strm->eof = true;  			break;  		} | 
