projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix: add format attribute to relevant functions (-Wsuggest-attribute=format)
[lttng-ust.git]
/
doc
/
examples
/
demo-tracef
/
demo-vtracef.c
diff --git
a/doc/examples/demo-tracef/demo-vtracef.c
b/doc/examples/demo-tracef/demo-vtracef.c
index 4f219f236c70585a5403c8b7fe2a62c9e7bf3f32..dc094ce470be987f80d05abd7b8cfdf51e984757 100644
(file)
--- a/
doc/examples/demo-tracef/demo-vtracef.c
+++ b/
doc/examples/demo-tracef/demo-vtracef.c
@@
-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.023909 seconds
and
4
git commands to generate.