From: Jérémie Galarneau Date: Fri, 15 Oct 2021 21:03:38 +0000 (-0400) Subject: Build fix: Missing message in LTTNG_DEPRECATED invocation X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=aa023466181aaa9b5f40ecc814d101db074c6fc6;p=lttng-tools.git Build fix: Missing message in LTTNG_DEPRECATED invocation Coverity scan build jobs fail since LTTNG_DEPRECATED expects a string and none is provided at the lttng_metadata_regenerate use site. Signed-off-by: Jérémie Galarneau Change-Id: I7e6701abd24c679f578b0adead771ac93b6566cd --- diff --git a/include/lttng/lttng.h b/include/lttng/lttng.h index 5f3df9113..2d9aa396e 100644 --- a/include/lttng/lttng.h +++ b/include/lttng/lttng.h @@ -193,7 +193,7 @@ extern int lttng_data_pending(const char *session_name); /* * Deprecated, replaced by lttng_regenerate_metadata. */ -LTTNG_DEPRECATED() +LTTNG_DEPRECATED("Use lttng_regenerate_metadata") extern int lttng_metadata_regenerate(const char *session_name); /*