[lttng-dev] [lttng-tools PATCH] Display right loglevel_type in error message

David Goulet david.goulet at polymtl.ca
Tue Feb 28 18:11:16 EST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Merged thanks.

Cheers
David

On 12-02-28 01:29 PM, Raphaël Beamonte wrote:
> Signed-off-by: Raphaël Beamonte <raphael.beamonte at gmail.com>
> ---
>  src/bin/lttng-sessiond/trace-ust.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/bin/lttng-sessiond/trace-ust.c b/src/bin/lttng-sessiond/trace-ust.c
> index ce6332d..55e7393 100644
> --- a/src/bin/lttng-sessiond/trace-ust.c
> +++ b/src/bin/lttng-sessiond/trace-ust.c
> @@ -236,7 +236,7 @@ struct ltt_ust_event *trace_ust_create_event(struct lttng_event *ev)
>  		lue->attr.loglevel = ev->loglevel;
>  		break;
>  	default:
> -		ERR("Unknown ust loglevel type (%d)", ev->type);
> +		ERR("Unknown ust loglevel type (%d)", ev->loglevel_type);
>  		goto error_free_event;
>  	}
>  
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJPTV8UAAoJEELoaioR9I02akoH/jLQee/NS6AWCy0K5QcScJ+U
BA7TBh/GD/bkJWWFlvbLB62iCd6CFXTijwX//L2BhgsSL0gLLPSYOH2p2GICr0xn
YUhhpMSRaOrEEr86+e6UG1kidXtjnJ0GHMr+17Oorj6S3qZBmSPydA7nesminwL9
bTOsSmwTH2chQfSEFSBWrUWUgZm6ziE7Z7OXdgTnar/kbFuZk9P6xaTfZLRo2FZo
0RbwD2h8q7VBN0DZAdO+cMqz5OdblwdWRrhUcLPrnb063OMbkA5nGHQsZyhumYFl
mAO1BUkTSfJBtYEH9uO2Dp5E8Tk0AN4T7vjj3oU+6a66o8geCK5QN+MNfYcNgt8=
=G1Wj
-----END PGP SIGNATURE-----



More information about the lttng-dev mailing list