aboutsummaryrefslogtreecommitdiff
path: root/libstore/file.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-05-10 17:32:33 +0000
committerMiles Bader <miles@gnu.org>1996-05-10 17:32:33 +0000
commit3a599ed5d204df4a0262d555ae7f46adcdf65bfc (patch)
tree04df0a24fa6a0da850037f9e0120bc298db8d3cf /libstore/file.c
parent48dee4ea42de87705260fb149e6ac223ca333ba8 (diff)
downloadhurd-3a599ed5d204df4a0262d555ae7f46adcdf65bfc.tar.gz
hurd-3a599ed5d204df4a0262d555ae7f46adcdf65bfc.tar.bz2
hurd-3a599ed5d204df4a0262d555ae7f46adcdf65bfc.zip
Rename *S_LEN to NUM_*S.
Diffstat (limited to 'libstore/file.c')
-rw-r--r--libstore/file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libstore/file.c b/libstore/file.c
index 8760f05c..125394d7 100644
--- a/libstore/file.c
+++ b/libstore/file.c
@@ -125,15 +125,15 @@ store_file_create (file_t file, struct store **store)
/* Like store_file_create, but doesn't query the file for information. */
error_t
_store_file_create (file_t file, size_t block_size,
- const off_t *runs, size_t runs_len,
+ const off_t *runs, size_t num_runs,
struct store **store)
{
if (block_size == 1)
*store = _make_store (STORAGE_HURD_FILE, &file_byte_meths, file, 1,
- runs, runs_len, 0);
+ runs, num_runs, 0);
else if ((block_size & (block_size - 1)) == 0)
*store = _make_store (STORAGE_HURD_FILE, &file_meths, file, block_size,
- runs, runs_len, 0);
+ runs, num_runs, 0);
else
return EINVAL; /* block size not a power of two */
return *store ? 0 : ENOMEM;