From: Mathieu Desnoyers Date: Mon, 21 Jan 2013 16:58:55 +0000 (-0500) Subject: Fix: comment in ust-ctl.h X-Git-Tag: v2.2.0-rc1~93 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=16d0af626240969ebc7bda0c4820f92a704e99c8;p=lttng-ust.git Fix: comment in ust-ctl.h Signed-off-by: Mathieu Desnoyers --- diff --git a/include/lttng/ust-ctl.h b/include/lttng/ust-ctl.h index 11beabaa..a067480b 100644 --- a/include/lttng/ust-ctl.h +++ b/include/lttng/ust-ctl.h @@ -49,7 +49,7 @@ int ustctl_start_session(int sock, int handle); int ustctl_stop_session(int sock, int handle); /* - * Return -ENOENT if no more stream is available for creation. + * Return -LTTNG_UST_ERR_NOENT if no more stream is available for creation. * Return 0 on success. * Return negative error value on system error. * Return positive error value on UST error. diff --git a/liblttng-ust-ctl/ustctl.c b/liblttng-ust-ctl/ustctl.c index 059a258f..d443a297 100644 --- a/liblttng-ust-ctl/ustctl.c +++ b/liblttng-ust-ctl/ustctl.c @@ -248,7 +248,7 @@ error: } /* - * Return -ENOENT if no more stream is available for creation. + * Return -LTTNG_UST_ERR_NOENT if no more stream is available for creation. * Return 0 on success. * Return negative error value on system error. * Return positive error value on UST error.