projects
/
deliverable
/
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
[deliverable/lttng-tools.git]
/
tests
/
utils
/
testapp
/
gen-ns-events
/
gen-ns-events.cpp
diff --git
a/tests/utils/testapp/gen-ns-events/gen-ns-events.cpp
b/tests/utils/testapp/gen-ns-events/gen-ns-events.cpp
index 7c2b6478c4520f526a9dbca17c7d4d12d1bb650f..78b962d19bb71a0e214fcd6a0f4ec41511eb73f1 100644
(file)
--- a/
tests/utils/testapp/gen-ns-events/gen-ns-events.cpp
+++ b/
tests/utils/testapp/gen-ns-events/gen-ns-events.cpp
@@
-20,6
+20,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"
@@
-74,7
+75,8
@@
static 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.024803 seconds
and
5
git commands to generate.