diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2018-12-17 17:10:18 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2018-12-17 17:10:18 -0500 |
commit | e95ec269efdfbd97b5d0ee85dda38e7bae498181 (patch) | |
tree | 0dda13650a3438feece9bfde6e9e75ed2c2fb269 /printf.c | |
parent | f5ba88ebfed936cfdee3a2ab3d6f690d291e9627 (diff) | |
download | bfs-e95ec269efdfbd97b5d0ee85dda38e7bae498181.tar.xz |
bftw: Move bftw_typeflag conversion out of util
Turns out incomplete enum types are a GNU C extension.
Diffstat (limited to 'printf.c')
-rw-r--r-- | printf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |