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-tracelog
/
demo-vtracelog.c
diff --git
a/doc/examples/demo-tracelog/demo-vtracelog.c
b/doc/examples/demo-tracelog/demo-vtracelog.c
index 4adaa0193262e2b944ae77a814ce9f92c780f4b5..eed8677c4d4beb67da7dac7d2fa215cbd118a47d 100644
(file)
--- a/
doc/examples/demo-tracelog/demo-vtracelog.c
+++ b/
doc/examples/demo-tracelog/demo-vtracelog.c
@@
-11,6
+11,7
@@
#include <lttng/tracelog.h>
+__attribute__((format(printf, 1, 2)))
void print_err(const char* msg, ...)
{
va_list ap;
This page took
0.023903 seconds
and
4
git commands to generate.