projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add lttng-error.h containing every API err. code
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
create.c
diff --git
a/src/bin/lttng/commands/create.c
b/src/bin/lttng/commands/create.c
index 95a0a6ab37d541944bb3d29ad5ad4d945a2ab241..96bb184a7bd63a7c654604326ef50e13a23e3f3b 100644
(file)
--- a/
src/bin/lttng/commands/create.c
+++ b/
src/bin/lttng/commands/create.c
@@
-338,7
+338,7
@@
static int create_session(void)
if (ret < 0) {
/* Don't set ret so lttng can interpret the sessiond error. */
switch (-ret) {
if (ret < 0) {
/* Don't set ret so lttng can interpret the sessiond error. */
switch (-ret) {
- case LTT
COMM
_EXIST_SESS:
+ case LTT
NG_ERR
_EXIST_SESS:
WARN("Session %s already exists", session_name);
break;
}
WARN("Session %s already exists", session_name);
break;
}
This page took
0.026095 seconds
and
4
git commands to generate.