summaryrefslogtreecommitdiffstats
path: root/printf.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2017-04-08 07:47:37 -0600
committerTavian Barnes <tavianator@tavianator.com>2017-04-08 07:47:37 -0600
commit5b343f3e2515eb1077792564735f7e7c9e4c65e7 (patch)
tree11579021c4e5eeb6f35e1c02206abd070cf2cb9b /printf.c
parent998ba6f6d119608b0844c0ca735044746ea1fd0f (diff)
downloadbfs-5b343f3e2515eb1077792564735f7e7c9e4c65e7.tar.xz
Move bftw_typeflag converters to util.c
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 7999010..cc8989f 100644
--- a/printf.c
+++ b/printf.c
@@ -350,7 +350,7 @@ static int bfs_printf_Y(FILE *file, const struct bfs_printf_directive *directive
struct stat sb;
if (fstatat(ftwbuf->at_fd, ftwbuf->at_path, &sb, 0) == 0) {
- type = bfs_printf_type(bftw_mode_to_typeflag(sb.st_mode));
+ type = bfs_printf_type(mode_to_typeflag(sb.st_mode));
} else {
switch (errno) {
case ELOOP: