diff options
Diffstat (limited to 'lib/sqfs/data_reader.c')
-rw-r--r-- | lib/sqfs/data_reader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqfs/data_reader.c b/lib/sqfs/data_reader.c index a7d605e..780a2a6 100644 --- a/lib/sqfs/data_reader.c +++ b/lib/sqfs/data_reader.c @@ -47,7 +47,7 @@ data_reader_t *data_reader_create(int fd, sqfs_super_t *super, if (super->fragment_entry_count == 0 || (super->flags & SQFS_FLAG_NO_FRAGMENTS) != 0) { - return 0; + return data; } if (super->fragment_table_start >= super->bytes_used) { |