Change event creation errval to EINVAL
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 24 May 2011 15:36:52 +0000 (11:36 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 24 May 2011 15:36:52 +0000 (11:36 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
ltt-debugfs-abi.c

index ee3ab043b9badf9f10cb58c0b4a292a090ff10ca..db2aebc34170d5364fc0a5fd72cdeea2f22a2c3c 100644 (file)
@@ -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;
 
This page took 0.026533 seconds and 4 git commands to generate.