diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2020-09-18 17:36:56 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2020-09-18 17:36:56 -0400 |
commit | cac079d033259e72f0d11e81856c0266eada3b7f (patch) | |
tree | eda002cc6970a7a82832e77e63b65b91f09e20ce /parse.c | |
parent | ccf75c74bdac06eec97a2a6a5228c2e706c121bd (diff) | |
download | bfs-cac079d033259e72f0d11e81856c0266eada3b7f.tar.xz |
stat: Rename bfs_stat_flag to _flags
Flags enums should be plural.
Diffstat (limited to 'parse.c')
-rw-r--r-- | parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |