From: Francis Deslauriers Date: Thu, 11 Mar 2021 16:18:40 +0000 (-0500) Subject: Cleanup: sessiond: fix comments to match with behavior X-Git-Tag: v2.13.0-rc1~245 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1136f41bfcb45da596fcb147b38b3181223f87e1;p=lttng-tools.git Cleanup: sessiond: fix comments to match with behavior Signed-off-by: Francis Deslauriers Signed-off-by: Jérémie Galarneau Change-Id: Ib8b7826d9b86df84eae048a7607ecc5a93aa5f56 --- diff --git a/src/bin/lttng-sessiond/cmd.c b/src/bin/lttng-sessiond/cmd.c index a6f1a4db6..a2af8882f 100644 --- a/src/bin/lttng-sessiond/cmd.c +++ b/src/bin/lttng-sessiond/cmd.c @@ -4203,7 +4203,7 @@ end: * then regenerate the metadata. Live and per-pid sessions are not * supported and return an error. * - * Return 0 on success or else a LTTNG_ERR code. + * Return LTTNG_OK on success or else a LTTNG_ERR code. */ int cmd_regenerate_metadata(struct ltt_session *session) { @@ -4244,7 +4244,7 @@ end: * * Ask the tracer to regenerate a new statedump. * - * Return 0 on success or else a LTTNG_ERR code. + * Return LTTNG_OK on success or else a LTTNG_ERR code. */ int cmd_regenerate_statedump(struct ltt_session *session) { @@ -5477,7 +5477,7 @@ end: * 'activate' to false means deactivate the rotation schedule and validate that * 'new_value' has the same value as the currently active value. * - * Return 0 on success or else a positive LTTNG_ERR code. + * Return LTTNG_OK on success or else a positive LTTNG_ERR code. */ int cmd_rotation_set_schedule(struct ltt_session *session, bool activate, enum lttng_rotation_schedule_type schedule_type,