projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: UST returns -LTTNG_UST_ERR_NOENT and not -ENOENT
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
ust-app.c
diff --git
a/src/bin/lttng-sessiond/ust-app.c
b/src/bin/lttng-sessiond/ust-app.c
index 04243b3251aca2c06e1edaf004e145af8f4fd394..c1e7e3935d52a4594989f0dce261919d730d6568 100644
(file)
--- a/
src/bin/lttng-sessiond/ust-app.c
+++ b/
src/bin/lttng-sessiond/ust-app.c
@@
-781,7
+781,7
@@
static int create_ust_stream(struct ust_app *app,
if (ret < 0) {
lttng_fd_put(LTTNG_FD_APPS, 2);
/* Indicates that there is no more stream for that channel. */
if (ret < 0) {
lttng_fd_put(LTTNG_FD_APPS, 2);
/* Indicates that there is no more stream for that channel. */
- if (ret != -
E
NOENT) {
+ if (ret != -
LTTNG_UST_ERR_
NOENT) {
ERR("UST create metadata stream failed (ret: %d)", ret);
}
goto error;
ERR("UST create metadata stream failed (ret: %d)", ret);
}
goto error;
@@
-2360,7
+2360,7
@@
int ust_app_start_trace(struct ltt_ust_session *usess, struct ust_app *app)
if (ret < 0) {
/* Free unused memory after this point. */
free(ustream);
if (ret < 0) {
/* Free unused memory after this point. */
free(ustream);
- if (ret == -
E
NOENT) {
+ if (ret == -
LTTNG_UST_ERR_
NOENT) {
/* Got all streams. Continue normal execution. */
break;
}
/* Got all streams. Continue normal execution. */
break;
}
This page took
0.027365 seconds
and
5
git commands to generate.