From: Mathieu Desnoyers Date: Mon, 21 Jan 2013 16:58:55 +0000 (-0500) Subject: Fix: comment in ust-ctl.h X-Git-Tag: v2.1.2~17 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=2f0f435c381370336fb0ef0a324c1dd83f746c37;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.