X-Git-Url: http://git.liburcu.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer.hpp;fp=src%2Fcommon%2Fconsumer%2Fconsumer.hpp;h=310969172d73f656a258d038cfdb1c0c55c9441f;hp=c62e014530bfabdc39a28fb333f2d586056af384;hb=fbd566c25787aa7134e84efcfb7d3569f27d3350;hpb=c91ccadee5bfbc94a95540e17c879ce976caf6a2 diff --git a/src/common/consumer/consumer.hpp b/src/common/consumer/consumer.hpp index c62e01453..310969172 100644 --- a/src/common/consumer/consumer.hpp +++ b/src/common/consumer/consumer.hpp @@ -921,7 +921,8 @@ void lttng_consumer_set_command_sock_path(struct lttng_consumer_local_data *ctx, * 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.