X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer.c;h=d45771e7eb19fb45123041736853143704db3aff;hp=4a8b14634d545b5587517caff54eddbd78cbfa48;hb=7a86c13d20ba17a39767f808e6f0ea363430eeda;hpb=b32703d679aa5dd34dbee1ff21e44c3728c01b78 diff --git a/src/common/consumer/consumer.c b/src/common/consumer/consumer.c index 4a8b14634..d45771e7e 100644 --- a/src/common/consumer/consumer.c +++ b/src/common/consumer/consumer.c @@ -4207,7 +4207,7 @@ int lttng_consumer_rotate_channel(struct lttng_consumer_channel *channel, case CONSUMER_STREAM_OPEN_PACKET_STATUS_ERROR: /* Logged by callee. */ ret = -1; - goto end_unlock_stream; + goto end_unlock_channel; default: abort(); }