projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: implicit conversion from enumeration
[lttng-tools.git]
/
src
/
common
/
ust-consumer
/
ust-consumer.c
diff --git
a/src/common/ust-consumer/ust-consumer.c
b/src/common/ust-consumer/ust-consumer.c
index 9f2e739a36fb59ba5bbba2df574dfcecbab2327d..f45b19944ebf12485fded8ddd1e1ed9038b4e10f 100644
(file)
--- a/
src/common/ust-consumer/ust-consumer.c
+++ b/
src/common/ust-consumer/ust-consumer.c
@@
-1145,7
+1145,7
@@
int lttng_ustconsumer_recv_cmd(struct lttng_consumer_local_data *ctx,
relayd = consumer_find_relayd(index);
if (relayd == NULL) {
DBG("Unable to find relayd %" PRIu64, index);
relayd = consumer_find_relayd(index);
if (relayd == NULL) {
DBG("Unable to find relayd %" PRIu64, index);
- ret_code = LTT
NG_ERR_NO_CONSUMER
;
+ ret_code = LTT
COMM_CONSUMERD_RELAYD_FAIL
;
}
/*
}
/*
@@
-1326,7
+1326,7
@@
int lttng_ustconsumer_recv_cmd(struct lttng_consumer_local_data *ctx,
channel = consumer_find_channel(key);
if (!channel) {
ERR("UST consumer get channel key %" PRIu64 " not found", key);
channel = consumer_find_channel(key);
if (!channel) {
ERR("UST consumer get channel key %" PRIu64 " not found", key);
- ret_code = LTT
NG_ERR_UST
_CHAN_NOT_FOUND;
+ ret_code = LTT
COMM_CONSUMERD
_CHAN_NOT_FOUND;
goto end_msg_sessiond;
}
goto end_msg_sessiond;
}
@@
-1482,7
+1482,7
@@
int lttng_ustconsumer_recv_cmd(struct lttng_consumer_local_data *ctx,
ctx);
if (ret < 0) {
ERR("Snapshot metadata failed");
ctx);
if (ret < 0) {
ERR("Snapshot metadata failed");
- ret_code = LTT
NG_ERR_UST_META_FAIL
;
+ ret_code = LTT
COMM_CONSUMERD_ERROR_METADATA
;
}
} else {
ret = snapshot_channel(msg.u.snapshot_channel.key,
}
} else {
ret = snapshot_channel(msg.u.snapshot_channel.key,
@@
-1492,7
+1492,7
@@
int lttng_ustconsumer_recv_cmd(struct lttng_consumer_local_data *ctx,
ctx);
if (ret < 0) {
ERR("Snapshot channel failed");
ctx);
if (ret < 0) {
ERR("Snapshot channel failed");
- ret_code = LTT
NG_ERR_UST_CHAN
_FAIL;
+ ret_code = LTT
COMM_CONSUMERD_CHANNEL
_FAIL;
}
}
}
}
This page took
0.033043 seconds
and
4
git commands to generate.