summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--opkg-opk/opk/write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opkg-opk/opk/write.c b/opkg-opk/opk/write.c
index 996007d..0d3ce40 100644
--- a/opkg-opk/opk/write.c
+++ b/opkg-opk/opk/write.c
@@ -113,8 +113,8 @@ _opkg_opk_opk_write_dir_read(struct opkg_opk_opk *opk,
int ret;
child_path = opk->path_virt + path_off;
- children_n = scandir(opk->path_real, &children, _opkg_opk_opk_write_filter,
- _opkg_opk_opk_write_compar);
+ children_n = scandir(opk->path_real, &children,
+ _opkg_opk_opk_write_filter, _opkg_opk_opk_write_compar);
for (children_i = 0; children_i < children_n; ++children_i) {
child.name = children[children_i]->d_name;
child.parent = dir;