fix: add format attribute to relevant functions (-Wsuggest-attribute=format)
[lttng-ust.git] / doc / examples / demo-tracef / demo-vtracef.c
index 4f219f236c70585a5403c8b7fe2a62c9e7bf3f32..dc094ce470be987f80d05abd7b8cfdf51e984757 100644 (file)
@@ -11,6 +11,7 @@
 
 #include <lttng/tracef.h>
 
+__attribute__((format(printf, 1, 2)))
 void print_debug(const char* msg, ...)
 {
        va_list ap;
This page took 0.034068 seconds and 4 git commands to generate.