aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
Diffstat (limited to 'toys')
-rw-r--r--toys/posix/chgrp.c2
-rw-r--r--toys/posix/du.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/toys/posix/chgrp.c b/toys/posix/chgrp.c
index 802d8f8f..6e1e16f0 100644
--- a/toys/posix/chgrp.c
+++ b/toys/posix/chgrp.c
@@ -104,7 +104,7 @@ void chgrp_main(void)
for (s=toys.optargs+1; *s; s++) {
struct dirtree *new = dirtree_add_node(0, *s, hl);
- if (new) handle_callback(new, do_chgrp);
+ if (new) dirtree_handle_callback(new, do_chgrp);
else toys.exitval = 1;
}
diff --git a/toys/posix/du.c b/toys/posix/du.c
index 6c09aec6..5dc3ee5c 100644
--- a/toys/posix/du.c
+++ b/toys/posix/du.c
@@ -206,7 +206,7 @@ void du_main(void)
struct dirtree *root = dirtree_add_node(0, path, symfollow);
if(root) {
TT.st_dev = root->st.st_dev;
- handle_callback(root, do_du); //this will recurse thru the DIR children.
+ dirtree_handle_callback(root, do_du); // recurse thru the DIR children.
}
toys.optargs++;
}