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:03:20 +0000 (15: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 5d84510b5a317b41506d7c4a15c04b010690508f..b1007958325efc72700d30e3578b681dc886ef72 100644 (file)
@@ -169,7 +169,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.025732 seconds and 4 git commands to generate.