projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix array size in kconsumer add stream
[lttng-tools.git]
/
ltt-sessiond
/
ust-comm.c
diff --git
a/ltt-sessiond/ust-comm.c
b/ltt-sessiond/ust-comm.c
index 724260511e621660669e1fc3de28d1762279bc9a..4a54bf78429e0172a1c7ddfbaa385c0aa98f1a74 100644
(file)
--- a/
ltt-sessiond/ust-comm.c
+++ b/
ltt-sessiond/ust-comm.c
@@
-19,6
+19,7
@@
#include <config.h>
#include <stdlib.h>
#include <lttngerr.h>
#include <config.h>
#include <stdlib.h>
#include <lttngerr.h>
+#include <ust/lttng-ust-comm.h>
#include "ust-comm.h"
/*
#include "ust-comm.h"
/*
@@
-41,7
+42,7
@@
struct lttcomm_ust_reply *ustcomm_send_command(int sock,
DBG2("Sending UST command %d to sock %d", msg->cmd, sock);
/* Send UST msg */
DBG2("Sending UST command %d to sock %d", msg->cmd, sock);
/* Send UST msg */
- len =
lt
tcomm_send_unix_sock(sock, msg, sizeof(*msg));
+ len =
us
tcomm_send_unix_sock(sock, msg, sizeof(*msg));
if (len < 0) {
goto error;
}
if (len < 0) {
goto error;
}
@@
-55,7
+56,7
@@
struct lttcomm_ust_reply *ustcomm_send_command(int sock,
DBG2("Receiving UST reply on sock %d", sock);
/* Get UST reply */
DBG2("Receiving UST reply on sock %d", sock);
/* Get UST reply */
- len =
lt
tcomm_recv_unix_sock(sock, reply, sizeof(*reply));
+ len =
us
tcomm_recv_unix_sock(sock, reply, sizeof(*reply));
if (len < 0 || len < sizeof(*reply)) {
goto error;
}
if (len < 0 || len < sizeof(*reply)) {
goto error;
}
This page took
0.024699 seconds
and
4
git commands to generate.