summaryrefslogtreecommitdiffstats
path: root/src/fsade.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-05-10 15:42:54 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-05-10 15:42:54 -0400
commit8368e139c176dcde3b125f4a180ff868729b1862 (patch)
treec4dd77aef93eef5d67b56aa4dc35ce6c4c371cf2 /src/fsade.c
parentf3ecfc1ee49e1c3ddd3d19ca6166424d72a08a5c (diff)
downloadbfs-8368e139c176dcde3b125f4a180ff868729b1862.tar.xz
config: s/BFS_COUNTOF/countof/
Diffstat (limited to 'src/fsade.c')
-rw-r--r--src/fsade.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fsade.c b/src/fsade.c
index aefbb75..4d67940 100644
--- a/src/fsade.c
+++ b/src/fsade.c
@@ -201,7 +201,7 @@ int bfs_check_acl(const struct BFTW *ftwbuf) {
const char *path = fake_at(ftwbuf);
int ret = -1, error = 0;
- for (size_t i = 0; i < BFS_COUNTOF(acl_types) && ret <= 0; ++i) {
+ for (size_t i = 0; i < countof(acl_types) && ret <= 0; ++i) {
acl_type_t type = acl_types[i];
if (type == ACL_TYPE_DEFAULT && ftwbuf->type != BFS_DIR) {