From: Mathieu Desnoyers Date: Fri, 16 Aug 2013 20:48:08 +0000 (-0400) Subject: Fix: imprecise error message about root sessiond/tracing group X-Git-Tag: v2.3.0-rc3~46 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=30d5429919f43ec6ec35fe1353f74ae50e60b9d7;p=lttng-tools.git Fix: imprecise error message about root sessiond/tracing group Signed-off-by: Mathieu Desnoyers --- diff --git a/src/common/error.c b/src/common/error.c index 42ed06fc8..41bc6b760 100644 --- a/src/common/error.c +++ b/src/common/error.c @@ -82,7 +82,7 @@ static const char *error_string_array[] = { [ ERROR_INDEX(LTTNG_ERR_UST_EVENT_NOT_FOUND)] = "UST event not found", [ ERROR_INDEX(LTTNG_ERR_UST_CONTEXT_EXIST)] = "UST context already exist", [ ERROR_INDEX(LTTNG_ERR_UST_CONTEXT_INVAL)] = "UST invalid context", - [ ERROR_INDEX(LTTNG_ERR_NEED_ROOT_SESSIOND) ] = "Tracing the kernel requires a root lttng-sessiond daemon and \"tracing\" group user membership", + [ ERROR_INDEX(LTTNG_ERR_NEED_ROOT_SESSIOND) ] = "Tracing the kernel requires a root lttng-sessiond daemon, as well as \"tracing\" group membership or root user ID for the lttng client."; [ ERROR_INDEX(LTTNG_ERR_TRACE_ALREADY_STARTED) ] = "Tracing already started", [ ERROR_INDEX(LTTNG_ERR_TRACE_ALREADY_STOPPED) ] = "Tracing already stopped", [ ERROR_INDEX(LTTNG_ERR_KERN_EVENT_ENOSYS) ] = "Kernel event type not supported",