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 /eval.c | |
parent | ccf75c74bdac06eec97a2a6a5228c2e706c121bd (diff) | |
download | bfs-cac079d033259e72f0d11e81856c0266eada3b7f.tar.xz |
stat: Rename bfs_stat_flag to _flags
Flags enums should be plural.
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -879,7 +879,7 @@ bool eval_xattrname(const struct expr *expr, struct eval_state *state) { */ bool eval_xtype(const struct expr *expr, struct eval_state *state) { const struct BFTW *ftwbuf = state->ftwbuf; - enum bfs_stat_flag flags = ftwbuf->stat_flags ^ (BFS_STAT_NOFOLLOW | BFS_STAT_TRYFOLLOW); + enum bfs_stat_flags flags = ftwbuf->stat_flags ^ (BFS_STAT_NOFOLLOW | BFS_STAT_TRYFOLLOW); enum bftw_type type = bftw_type(ftwbuf, flags); if (type == BFTW_ERROR) { eval_report_error(state); @@ -1051,7 +1051,7 @@ static bool eval_file_unique(struct eval_state *state, struct trie *seen) { /** * Log a stat() call. */ -static void debug_stat(const struct cmdline *cmdline, const struct BFTW *ftwbuf, const struct bftw_stat *cache, enum bfs_stat_flag flags) { +static void debug_stat(const struct cmdline *cmdline, const struct BFTW *ftwbuf, const struct bftw_stat *cache, enum bfs_stat_flags flags) { bfs_debug_prefix(cmdline, DEBUG_STAT); fprintf(stderr, "bfs_stat("); |