summaryrefslogtreecommitdiffstats
path: root/bfs.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2015-09-02 11:34:46 -0400
committerTavian Barnes <tavianator@tavianator.com>2015-09-02 11:34:46 -0400
commit2199c8b55dcd34334ef71f12707e17704f1b3d10 (patch)
treeda3c847cde3e4e0ab458539515a462b3ca020bad /bfs.c
parent75377a9db6f9c4e00b9d39828d955ec4443f2ce2 (diff)
downloadbfs-2199c8b55dcd34334ef71f12707e17704f1b3d10.tar.xz
Print the root file/directory too.
Diffstat (limited to 'bfs.c')
-rw-r--r--bfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfs.c b/bfs.c
index 4e9671a..7090817 100644
--- a/bfs.c
+++ b/bfs.c
@@ -285,7 +285,7 @@ static bool eval_name(const expression *expr, eval_state *state) {
* -print action.
*/
static bool eval_print(const expression *expr, eval_state *state) {
- pretty_print(state->cl->colors, state->fpath, state->ftwbuf->statbuf);
+ pretty_print(state->cl->colors, state->fpath, state->ftwbuf);
return true;
}