From d40691e31e2674d7d95ec9160b9897805ce3f43b Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 4 May 2019 11:51:56 -0400 Subject: stat: Unify the flags arguments --- printf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'printf.c') diff --git a/printf.c b/printf.c index 0b4b0c8..b2463e1 100644 --- a/printf.c +++ b/printf.c @@ -381,7 +381,7 @@ static int bfs_printf_Y(FILE *file, const struct bfs_printf_directive *directive const char *type = "U"; struct bfs_stat sb; - if (bfs_stat(ftwbuf->at_fd, ftwbuf->at_path, 0, 0, &sb) == 0) { + if (bfs_stat(ftwbuf->at_fd, ftwbuf->at_path, BFS_STAT_FOLLOW, &sb) == 0) { type = bfs_printf_type(bftw_mode_typeflag(sb.mode)); } else { switch (errno) { -- cgit v1.2.3