diff options
author | Rob Landley <rob@landley.net> | 2012-12-31 14:38:13 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2012-12-31 14:38:13 -0600 |
commit | 090c5c607ec682e5cfc03bbc745cd1ed28d5d6ce (patch) | |
tree | b20960158a610080d44ac64cf6da3d7eded3e9b0 /toys | |
parent | ef2af2e4d6ddb25cc9b17167e9db5a49b1265abe (diff) | |
download | toybox-090c5c607ec682e5cfc03bbc745cd1ed28d5d6ce.tar.gz |
Make dirtree_handle_callback() start with dirtree_ like the rest of the dirtree functions.
Diffstat (limited to 'toys')
-rw-r--r-- | toys/posix/chgrp.c | 2 | ||||
-rw-r--r-- | toys/posix/du.c | 2 |
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++; } |