summaryrefslogtreecommitdiffstats
path: root/src/bar.c
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/bar.c
parent5b38f658ee42bef05cecb6cadec65b25d9e94993 (diff)
downloadbfs-a85fc263a89fb89bc8b2a8166747660a177b1773.tar.xz
config: s/attr_format/attr_printf/
Diffstat (limited to 'src/bar.c')
-rw-r--r--src/bar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bar.c b/src/bar.c
index babadc3..8ab4112 100644
--- a/src/bar.c
+++ b/src/bar.c
@@ -127,7 +127,7 @@ static void reset_before_death_by(int sig) {
}
/** printf() to the status bar with a single write(). */
-attr(format(2, 3))
+attr(printf(2, 3))
static int bfs_bar_printf(struct bfs_bar *bar, const char *format, ...) {
va_list args;
va_start(args, format);