Skip to content

Commit

Permalink
Build fix: Missing message in LTTNG_DEPRECATED invocation
Browse files Browse the repository at this point in the history
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 <[email protected]>
Change-Id: I7e6701abd24c679f578b0adead771ac93b6566cd
  • Loading branch information
jgalar committed Oct 18, 2021
1 parent 10c54de commit aa02346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/lttng/lttng.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

/*
Expand Down

0 comments on commit aa02346

Please sign in to comment.