diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-11-06 10:40:33 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-11-06 16:37:14 -0500 |
commit | 9f6f391358e3d8f66ebd750250479bebebe4d0d4 (patch) | |
tree | b954d8cdb10e46ff68a39b6c829ab94161994f2a /src/dir.c | |
parent | 2724dfbd17552f892a0d8b39b96cbe9e49d66fdb (diff) | |
download | bfs-9f6f391358e3d8f66ebd750250479bebebe4d0d4.tar.xz |
util: Use fewer BFS_*() wrappers for feature testing
Diffstat (limited to 'src/dir.c')
-rw-r--r-- | src/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -229,7 +229,7 @@ int bfs_readdir(struct bfs_dir *dir, struct bfs_dirent *de) { char *buf = (char *)(dir + 1); if (dir->pos >= dir->size) { -#if BFS_HAS_FEATURE(memory_sanitizer, false) +#if __has_feature(memory_sanitizer) // Make sure msan knows the buffer is initialized memset(buf, 0, BUF_SIZE); #endif |