diff options
Diffstat (limited to 'libstore/rdwr.c')
-rw-r--r-- | libstore/rdwr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstore/rdwr.c b/libstore/rdwr.c index b6622a70..e33b46dc 100644 --- a/libstore/rdwr.c +++ b/libstore/rdwr.c @@ -33,7 +33,7 @@ store_find_first_run (struct store *store, off_t addr, off_t **runs, off_t **runs_end, off_t *base, size_t *index) { - off_t *tail = store->runs, *tail_end = tail + store->runs_len; + off_t *tail = store->runs, *tail_end = tail + store->num_runs; off_t wrap_src = store->wrap_src; if (addr >= wrap_src && addr < store->end) |