summaryrefslogtreecommitdiffstats
path: root/src/mtab.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-11-16 12:25:09 -0500
committerTavian Barnes <tavianator@tavianator.com>2023-12-18 15:37:20 -0500
commit5b38f658ee42bef05cecb6cadec65b25d9e94993 (patch)
tree7ee304714729b360a3d45658ca27358e03cd54e3 /src/mtab.c
parentfd91097055f095fdd827ef8751d9534f59a89404 (diff)
downloadbfs-5b38f658ee42bef05cecb6cadec65b25d9e94993.tar.xz
config: New variadic attr(...) macro
Diffstat (limited to 'src/mtab.c')
-rw-r--r--src/mtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mtab.c b/src/mtab.c
index 082150c..cc726a2 100644
--- a/src/mtab.c
+++ b/src/mtab.c
@@ -61,7 +61,7 @@ struct bfs_mtab {
/**
* Add an entry to the mount table.
*/
-attr_maybe_unused
+attr(maybe_unused)
static int bfs_mtab_add(struct bfs_mtab *mtab, const char *path, const char *type) {
struct bfs_mount *mount = RESERVE(struct bfs_mount, &mtab->mounts, &mtab->nmounts);
if (!mount) {