projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: consumerd: type confusion in lttng_consumer_send_error
[lttng-tools.git]
/
src
/
common
/
consumer
/
consumer.h
diff --git
a/src/common/consumer/consumer.h
b/src/common/consumer/consumer.h
index 53c39e6eb003e9530050de53e276f7ef1672fe05..6455692968d8f7a49f04c9a37fbeeecb7f5ecbf2 100644
(file)
--- a/
src/common/consumer/consumer.h
+++ b/
src/common/consumer/consumer.h
@@
-918,7
+918,8
@@
void lttng_consumer_set_command_sock_path(
* Returns the return code of sendmsg : the number of bytes transmitted or -1
* on error.
*/
* Returns the return code of sendmsg : the number of bytes transmitted or -1
* on error.
*/
-int lttng_consumer_send_error(struct lttng_consumer_local_data *ctx, int cmd);
+int lttng_consumer_send_error(struct lttng_consumer_local_data *ctx,
+ enum lttcomm_return_code error_code);
/*
* Called from signal handler to ensure a clean exit.
/*
* Called from signal handler to ensure a clean exit.
This page took
0.023656 seconds
and
4
git commands to generate.