projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support new lttng-ust error code
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
channel.c
diff --git
a/src/bin/lttng-sessiond/channel.c
b/src/bin/lttng-sessiond/channel.c
index e2cdf563a6bbc42f9cf6f583b323c8c25b6217b8..8b9adfba8370894050c5fd214c64c5282682fed8 100644
(file)
--- a/
src/bin/lttng-sessiond/channel.c
+++ b/
src/bin/lttng-sessiond/channel.c
@@
-203,7
+203,7
@@
int channel_ust_enable(struct ltt_ust_session *usess, int domain,
}
if (ret < 0) {
}
if (ret < 0) {
- if (ret != -
E
EXIST) {
+ if (ret != -
LTTNG_UST_ERR_
EXIST) {
ret = LTTNG_ERR_UST_CHAN_ENABLE_FAIL;
goto error;
} else {
ret = LTTNG_ERR_UST_CHAN_ENABLE_FAIL;
goto error;
} else {
@@
-284,7
+284,7
@@
int channel_ust_create(struct ltt_ust_session *usess, int domain,
goto error_free_chan;
}
goto error_free_chan;
}
- if (ret < 0 && ret != -
E
EXIST) {
+ if (ret < 0 && ret != -
LTTNG_UST_ERR_
EXIST) {
ret = LTTNG_ERR_UST_CHAN_FAIL;
goto error_free_chan;
}
ret = LTTNG_ERR_UST_CHAN_FAIL;
goto error_free_chan;
}
@@
-341,7
+341,7
@@
int channel_ust_disable(struct ltt_ust_session *usess, int domain,
goto error;
}
goto error;
}
- if (ret < 0 && ret != -
E
EXIST) {
+ if (ret < 0 && ret != -
LTTNG_UST_ERR_
EXIST) {
ret = LTTNG_ERR_UST_CHAN_DISABLE_FAIL;
goto error;
}
ret = LTTNG_ERR_UST_CHAN_DISABLE_FAIL;
goto error;
}
This page took
0.024223 seconds
and
4
git commands to generate.