aboutsummaryrefslogtreecommitdiffstats
path: root/c_init.go
diff options
context:
space:
mode:
Diffstat (limited to 'c_init.go')
-rw-r--r--c_init.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/c_init.go b/c_init.go
index 65e7144..d16999c 100644
--- a/c_init.go
+++ b/c_init.go
@@ -94,11 +94,11 @@ func c_recurse_data_dir(dir, root string, opts HardOpts, ldirs *DirsList,
}
}
-func c_load_data_dir(dir string) *DirsList {
+func c_load_data_dir(dir string, opts HardOpts) *DirsList {
ldirs := DirsList{}
var id uint64
id = 0
- c_recurse_data_dir("", data.opts, dir + "/", &ldirs, &id, "", nil, 1)
+ c_recurse_data_dir("", dir + "/", opts, &ldirs, &id, "", nil, 1)
return &ldirs
}