X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer.h;fp=src%2Fcommon%2Fconsumer%2Fconsumer.h;h=5026f70e41b9007a681ff35447d62120b2bd9076;hb=da151cc5d0a127c08de59d6861c20a617c192682;hp=7bfd28379802ec567804d1220ea3eead3d8e3e62;hpb=2e435abd2c3e09706fab156e1f965deccbbc68d5;p=lttng-tools.git diff --git a/src/common/consumer/consumer.h b/src/common/consumer/consumer.h index 7bfd28379..5026f70e4 100644 --- a/src/common/consumer/consumer.h +++ b/src/common/consumer/consumer.h @@ -905,7 +905,8 @@ void lttng_consumer_set_command_sock_path( * 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.