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:11:32 +0000 (15:11 -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 5279bc57d5d2b79b45cd6bfa98291d67ab7f8358..780c9528954e1d67236965a072754cc72f446127 100644 (file)
@@ -173,7 +173,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.026986 seconds and 4 git commands to generate.