summaryrefslogtreecommitdiffstats
path: root/printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'printf.c')
-rw-r--r--printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/printf.c b/printf.c
index 8643f68..1da0de7 100644
--- a/printf.c
+++ b/printf.c
@@ -405,7 +405,7 @@ static int bfs_printf_Y(FILE *file, const struct bfs_printf_directive *directive
struct bfs_stat sb;
if (bfs_stat(ftwbuf->at_fd, ftwbuf->at_path, 0, 0, &sb) == 0) {
- type = bfs_printf_type(mode_to_typeflag(sb.mode));
+ type = bfs_printf_type(bftw_mode_typeflag(sb.mode));
} else {
switch (errno) {
case ELOOP: