summaryrefslogtreecommitdiffstats
path: root/parse.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2020-09-18 17:36:56 -0400
committerTavian Barnes <tavianator@tavianator.com>2020-09-18 17:36:56 -0400
commitcac079d033259e72f0d11e81856c0266eada3b7f (patch)
treeeda002cc6970a7a82832e77e63b65b91f09e20ce /parse.c
parentccf75c74bdac06eec97a2a6a5228c2e706c121bd (diff)
downloadbfs-cac079d033259e72f0d11e81856c0266eada3b7f.tar.xz
stat: Rename bfs_stat_flag to _flags
Flags enums should be plural.
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.c b/parse.c
index 155f10b..a3af1d1 100644
--- a/parse.c
+++ b/parse.c
@@ -442,7 +442,7 @@ static int stat_arg(const struct parser_state *state, struct expr *expr, struct
const struct cmdline *cmdline = state->cmdline;
bool follow = cmdline->flags & (BFTW_FOLLOW_ROOTS | BFTW_FOLLOW_ALL);
- enum bfs_stat_flag flags = follow ? BFS_STAT_TRYFOLLOW : BFS_STAT_NOFOLLOW;
+ enum bfs_stat_flags flags = follow ? BFS_STAT_TRYFOLLOW : BFS_STAT_NOFOLLOW;
int ret = bfs_stat(AT_FDCWD, expr->sdata, flags, sb);
if (ret != 0) {