diff options
Diffstat (limited to 'reachable.c')
-rw-r--r-- | reachable.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/reachable.c b/reachable.c index 01760d7046..ff3dd34962 100644 --- a/reachable.c +++ b/reachable.c @@ -42,8 +42,7 @@ static void process_tree(struct tree *tree, me.elem = name; me.elem_len = strlen(name); - desc.buf = tree->buffer; - desc.size = tree->size; + init_tree_desc(&desc, tree->buffer, tree->size); while (tree_entry(&desc, &entry)) { if (S_ISDIR(entry.mode)) |