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 b8c1a3cd9a74559e3cf7a79ba8e4610ae8038097..4435bf3fd4e22cae6cd74113981e25b42d07c756 100644
(file)
--- a/
src/common/ust-consumer/ust-consumer.c
+++ b/
src/common/ust-consumer/ust-consumer.c
@@
-1146,7
+1146,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
;
}
/*
}
/*
@@
-1327,7
+1327,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;
}
@@
-1483,7
+1483,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,
@@
-1493,7
+1493,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.030249 seconds
and
5
git commands to generate.