projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure: enable -Wsuggest-attribute=format
[lttng-tools.git]
/
tests
/
utils
/
testapp
/
gen-ust-events-ns
/
gen-ust-events-ns.cpp
diff --git
a/tests/utils/testapp/gen-ust-events-ns/gen-ust-events-ns.cpp
b/tests/utils/testapp/gen-ust-events-ns/gen-ust-events-ns.cpp
index dadfc3d3a00301bc81ba044ef19403585812ccda..c916a961611c3d1f7aeae903c7f46190432f552c 100644
(file)
--- a/
tests/utils/testapp/gen-ust-events-ns/gen-ust-events-ns.cpp
+++ b/
tests/utils/testapp/gen-ust-events-ns/gen-ust-events-ns.cpp
@@
-19,6
+19,7
@@
#include <unistd.h>
#include <common/compat/tid.h>
#include <unistd.h>
#include <common/compat/tid.h>
+#include <common/macros.h>
#include "signal-helper.h"
#include "utils.h"
#include "signal-helper.h"
#include "utils.h"
@@
-77,7
+78,8
@@
struct poptOption opts[] = {
{ NULL, 0, 0, NULL, 0 }
};
{ 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);
{
va_list args;
va_start(args, format);
This page took
0.023228 seconds
and
4
git commands to generate.