summaryrefslogtreecommitdiffstats
path: root/src/bftw.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-05-10 15:43:31 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-05-10 15:43:31 -0400
commit3929ddedca049ac6f9dcbe88f85233b6ec1a415a (patch)
tree94d792e509ea480b26ef57e8f35b56015931a0a9 /src/bftw.c
parent8368e139c176dcde3b125f4a180ff868729b1862 (diff)
downloadbfs-3929ddedca049ac6f9dcbe88f85233b6ec1a415a.tar.xz
config: s/BFS_FLEX_SIZEOF/flex_sizeof/
Diffstat (limited to 'src/bftw.c')
-rw-r--r--src/bftw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bftw.c b/src/bftw.c
index e4dc411..d2f1e36 100644
--- a/src/bftw.c
+++ b/src/bftw.c
@@ -178,7 +178,7 @@ static void bftw_cache_destroy(struct bftw_cache *cache) {
/** Create a new bftw_file. */
static struct bftw_file *bftw_file_new(struct bftw_file *parent, const char *name) {
size_t namelen = strlen(name);
- size_t size = BFS_FLEX_SIZEOF(struct bftw_file, name, namelen + 1);
+ size_t size = flex_sizeof(struct bftw_file, name, namelen + 1);
struct bftw_file *file = malloc(size);
if (!file) {