From: Mathieu Desnoyers Date: Tue, 24 May 2011 15:36:52 +0000 (-0400) Subject: Change event creation errval to EINVAL X-Git-Tag: v2.0-pre1~98 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=588e6a7f55aedfdf5d48147e577bdb180cd9e5cd;p=lttng-modules.git Change event creation errval to EINVAL Signed-off-by: Mathieu Desnoyers --- diff --git a/ltt-debugfs-abi.c b/ltt-debugfs-abi.c index ee3ab043..db2aebc3 100644 --- a/ltt-debugfs-abi.c +++ b/ltt-debugfs-abi.c @@ -156,7 +156,7 @@ void lttng_metadata_create_events(struct file *channel_file) event = ltt_event_create(channel, &metadata_params, NULL); if (!event) { goto create_error; - ret = -EEXIST; + ret = -EINVAL; } return;