X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=doc%2Fexamples%2Fdemo-tracef%2Fdemo-vtracef.c;h=dc094ce470be987f80d05abd7b8cfdf51e984757;hb=b1d36dcecece5826b07504fae171e76be800b4ef;hp=4f219f236c70585a5403c8b7fe2a62c9e7bf3f32;hpb=3c99db226fd7e6100f300549cdcb3e8dc7d4c270;p=lttng-ust.git diff --git a/doc/examples/demo-tracef/demo-vtracef.c b/doc/examples/demo-tracef/demo-vtracef.c index 4f219f23..dc094ce4 100644 --- a/doc/examples/demo-tracef/demo-vtracef.c +++ b/doc/examples/demo-tracef/demo-vtracef.c @@ -11,6 +11,7 @@ #include +__attribute__((format(printf, 1, 2))) void print_debug(const char* msg, ...) { va_list ap;