projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e16da0
)
Fix wrong goto
author
David Goulet
<david.goulet@polymtl.ca>
Mon, 16 May 2011 16:21:01 +0000
(12:21 -0400)
committer
David Goulet
<david.goulet@polymtl.ca>
Mon, 16 May 2011 16:21:01 +0000
(12:21 -0400)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
ltt-sessiond/trace.c
patch
|
blob
|
blame
|
history
diff --git
a/ltt-sessiond/trace.c
b/ltt-sessiond/trace.c
index 92f8d48ce141960902cba89e1b939de2fab48b5b..a821327e253242ef780b4d8c06614687169cfdbf 100644
(file)
--- a/
ltt-sessiond/trace.c
+++ b/
ltt-sessiond/trace.c
@@
-137,7
+137,7
@@
int ust_create_trace(int sock, pid_t pid)
ret = ustctl_create_trace(sock, trace->name);
if (ret < 0) {
ret = LTTCOMM_CREATE_FAIL;
- goto error;
+ goto error
_create
;
}
/* Check if current session is valid */
@@
-145,6
+145,7
@@
int ust_create_trace(int sock, pid_t pid)
cds_list_add(&trace->list, ¤t_session->ust_traces);
current_session->ust_trace_count++;
}
+
return 0;
error_create:
This page took
0.026601 seconds
and
4
git commands to generate.