summaryrefslogtreecommitdiffstats
path: root/src/printf.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-05-03 09:29:19 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-05-03 09:29:19 -0400
commit7e5357a1cf40ebaa7ffaeebfd3a88c3ba93eb1a7 (patch)
tree5a792a12d92518d2250611e05332f9904307f157 /src/printf.c
parent6d59961d6d5ce91529a17bdad380ee78fa866564 (diff)
downloadbfs-7e5357a1cf40ebaa7ffaeebfd3a88c3ba93eb1a7.tar.xz
style: Don't use tabs to indent preprocessor directives
Diffstat (limited to 'src/printf.c')
-rw-r--r--src/printf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/printf.c b/src/printf.c
index 1b4f2d4..726d54d 100644
--- a/src/printf.c
+++ b/src/printf.c
@@ -72,10 +72,10 @@ static bool should_color(CFILE *cfile, const struct bfs_printf *directive) {
/**
* Print a value to a temporary buffer before formatting it.
*/
-#define BFS_PRINTF_BUF(buf, format, ...) \
- char buf[256]; \
- int ret = snprintf(buf, sizeof(buf), format, __VA_ARGS__); \
- assert(ret >= 0 && (size_t)ret < sizeof(buf)); \
+#define BFS_PRINTF_BUF(buf, format, ...) \
+ char buf[256]; \
+ int ret = snprintf(buf, sizeof(buf), format, __VA_ARGS__); \
+ assert(ret >= 0 && (size_t)ret < sizeof(buf)); \
(void)ret
/**