aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/chgrp.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix/chgrp.c')
-rw-r--r--toys/posix/chgrp.c2
1 files changed, 1 insertions, 1 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;
}