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: https://git.lttng.org./?a=commitdiff_plain;h=f895927f329180ca1e6f4426e9d3c6250ae698ba;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 01c4089e5..efbd92f5d 100644 --- a/include/lttng/lttng.h +++ b/include/lttng/lttng.h @@ -196,7 +196,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); /*