From 126a7300e70cecddc97ceefc56b0077ee5f098b4 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Tue, 2 Apr 1996 21:56:16 +0000 Subject: entered into RCS --- libstore/rdwr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libstore/rdwr.c') 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; -- cgit v1.2.3