diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2015-09-02 11:34:46 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2015-09-02 11:34:46 -0400 |
commit | 2199c8b55dcd34334ef71f12707e17704f1b3d10 (patch) | |
tree | da3c847cde3e4e0ab458539515a462b3ca020bad /color.h | |
parent | 75377a9db6f9c4e00b9d39828d955ec4443f2ce2 (diff) | |
download | bfs-2199c8b55dcd34334ef71f12707e17704f1b3d10.tar.xz |
Print the root file/directory too.
Diffstat (limited to 'color.h')
-rw-r--r-- | color.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -13,7 +13,6 @@ #define BFS_COLOR_H #include "bftw.h" -#include <sys/stat.h> /** * A lookup table for colors. @@ -36,10 +35,10 @@ color_table *parse_colors(char *ls_colors); * The color table to use. * @param fpath * The file path to print. - * @param sb - * A stat() buffer for fpath. + * @param ftwbuf + * The bftw() data for fpath. */ -void pretty_print(const color_table *colors, const char *fpath, const struct stat *sb); +void pretty_print(const color_table *colors, const char *fpath, const struct BFTW *ftwbuf); /** * Pretty-print an error. |