summaryrefslogtreecommitdiff
path: root/libstore/make.c
diff options
context:
space:
mode:
Diffstat (limited to 'libstore/make.c')
-rw-r--r--libstore/make.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libstore/make.c b/libstore/make.c
index 340d583c..7ce320d5 100644
--- a/libstore/make.c
+++ b/libstore/make.c
@@ -29,7 +29,7 @@
struct store *
_make_store (enum file_storage_class class, struct store_meths *meths,
mach_port_t port, size_t block_size,
- const off_t *runs, size_t runs_len, off_t end)
+ const off_t *runs, size_t num_runs, off_t end)
{
if (block_size & (block_size - 1))
return 0; /* block size not a power of two. */
@@ -41,7 +41,7 @@ _make_store (enum file_storage_class class, struct store_meths *meths,
store->name = 0;
store->port = port;
store->runs = 0;
- store->runs_len = 0;
+ store->num_runs = 0;
store->wrap_src = 0;
store->wrap_dst = 0;
store->end = end;
@@ -57,7 +57,7 @@ _make_store (enum file_storage_class class, struct store_meths *meths,
store->class = class;
store->meths = meths;
- store_set_runs (store, runs, runs_len); /* Calls _store_derive() */
+ store_set_runs (store, runs, num_runs); /* Calls _store_derive() */
}
return store;
}