Build fix: Missing message in LTTNG_DEPRECATED invocation
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 15 Oct 2021 21:03:38 +0000 (17:03 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 18 Oct 2021 19:00:12 +0000 (15:00 -0400)
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 <jeremie.galarneau@efficios.com>
Change-Id: I7e6701abd24c679f578b0adead771ac93b6566cd

include/lttng/lttng.h

index 5f3df911369f4b4c736bb4cd1528ca493a135c69..2d9aa396e7de8c93afa70b08ac5188045f222a2c 100644 (file)
@@ -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);
 
 /*
This page took 0.025932 seconds and 4 git commands to generate.