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>
Fri, 15 Oct 2021 21:03:38 +0000 (17:03 -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 01c4089e532f0c1433977097d585ad16aac75f83..efbd92f5dc404b49f3a2aad80c9c3386da0ba10a 100644 (file)
@@ -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);
 
 /*
This page took 0.026649 seconds and 4 git commands to generate.