From f895927f329180ca1e6f4426e9d3c6250ae698ba Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Fri, 15 Oct 2021 17:03:38 -0400 Subject: [PATCH] Build fix: Missing message in LTTNG_DEPRECATED invocation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- include/lttng/lttng.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); /* -- 2.34.1