projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Missing rcu_read_lock in cmd_list_events()
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
cmd-generic.c
diff --git
a/src/bin/lttng-relayd/cmd-generic.c
b/src/bin/lttng-relayd/cmd-generic.c
index 1122bfe20d1d8c81be864ccf639e57a9704a17ce..417d6d33fb4b12c353aabdd5ad2108c82d142618 100644
(file)
--- a/
src/bin/lttng-relayd/cmd-generic.c
+++ b/
src/bin/lttng-relayd/cmd-generic.c
@@
-17,6
+17,7
@@
*/
#define _GNU_SOURCE
*/
#define _GNU_SOURCE
+#define _LGPL_SOURCE
#include <assert.h>
#include <common/common.h>
#include <assert.h>
#include <common/common.h>
@@
-37,7
+38,7
@@
int cmd_recv(struct lttcomm_sock *sock, void *buf, size_t len)
DBG("Socket %d did an orderly shutdown", sock->fd);
} else {
ERR("Relay didn't receive valid add_stream struct size. "
DBG("Socket %d did an orderly shutdown", sock->fd);
} else {
ERR("Relay didn't receive valid add_stream struct size. "
- "Expected %
l
u, got %d", len, ret);
+ "Expected %
z
u, got %d", len, ret);
}
ret = -1;
goto error;
}
ret = -1;
goto error;
This page took
0.023975 seconds
and
4
git commands to generate.