X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer.h;h=6455692968d8f7a49f04c9a37fbeeecb7f5ecbf2;hb=a73d94960e33d71f20cb99ea648cd24d064aabee;hp=53c39e6eb003e9530050de53e276f7ef1672fe05;hpb=c0e55b9aa6c04ffffa8ca9a164b09e07df7f7a5d;p=lttng-tools.git diff --git a/src/common/consumer/consumer.h b/src/common/consumer/consumer.h index 53c39e6eb..645569296 100644 --- 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. */ -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.