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 674367bb..b6622a70 100644 --- a/libstore/rdwr.c +++ b/libstore/rdwr.c @@ -40,7 +40,7 @@ store_find_first_run (struct store *store, off_t addr, /* Locate the correct position within a repeating pattern of runs. */ { *base = addr / store->wrap_dst; - addr %= wrap; + addr %= wrap_src; } else *base = 0; |