summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-11-22 09:33:49 -0500
committerTavian Barnes <tavianator@tavianator.com>2023-12-18 15:37:20 -0500
commita85fc263a89fb89bc8b2a8166747660a177b1773 (patch)
tree128645d8fb4bdfe0829420c132d8f319bc319a14 /src/config.h
parent5b38f658ee42bef05cecb6cadec65b25d9e94993 (diff)
downloadbfs-a85fc263a89fb89bc8b2a8166747660a177b1773.tar.xz
config: s/attr_format/attr_printf/
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.h b/src/config.h
index aa03552..46f1efe 100644
--- a/src/config.h
+++ b/src/config.h
@@ -240,9 +240,9 @@ typedef long double max_align_t;
* Adds compiler warnings for bad printf()-style function calls, if supported.
*/
#if __has_attribute(format)
-# define attr_format(fmt, args) __attribute__((format(printf, fmt, args)))
+# define attr_printf(fmt, args) __attribute__((format(printf, fmt, args)))
#else
-# define attr_format(fmt, args)
+# define attr_printf(fmt, args)
#endif
/**