#include <unistd.h>
#include <common/compat/tid.h>
+#include <common/macros.h>
#include "signal-helper.h"
#include "utils.h"
{ NULL, 0, 0, NULL, 0 }
};
-static void debug_printf(const char *format, ...)
+static ATTR_FORMAT_PRINTF(1, 2)
+void debug_printf(const char *format, ...)
{
va_list args;
va_start(args, format);