summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2019-07-05 19:10:53 -0400
committerTavian Barnes <tavianator@tavianator.com>2019-07-05 19:10:53 -0400
commit2bc5a80b3a24487b12bef5ea55a1155652260eff (patch)
treef4ff4bbe7781ff9fec97ece6b9fb36e91854d717
parentea7899f9fd832d5fec630d3ad9cbe1e2855d78f5 (diff)
downloadbfs-2bc5a80b3a24487b12bef5ea55a1155652260eff.tar.xz
exec: Mark a formatting function as BFS_FORMATTER
-rw-r--r--exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/exec.c b/exec.c
index ddca2f9..ce42f1a 100644
--- a/exec.c
+++ b/exec.c
@@ -35,6 +35,7 @@
#include <unistd.h>
/** Print some debugging info. */
+BFS_FORMATTER(2, 3)
static void bfs_exec_debug(const struct bfs_exec *execbuf, const char *format, ...) {
if (!(execbuf->flags & BFS_EXEC_DEBUG)) {
return;