X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fkernel.c;h=5d4f61451a53cf3d2d6cd8da21feeec086ad9e94;hp=bf1a52171ace5fd378d66a0beae2df458839e87b;hb=4ce514c43483ba24fd935024da5b7aca681a7e52;hpb=ba28686d644c949b91fba24738c645a62ca26286 diff --git a/src/bin/lttng-sessiond/kernel.c b/src/bin/lttng-sessiond/kernel.c index bf1a52171..5d4f61451 100644 --- a/src/bin/lttng-sessiond/kernel.c +++ b/src/bin/lttng-sessiond/kernel.c @@ -864,7 +864,7 @@ int kernel_snapshot_record(struct ltt_kernel_session *ksess, struct consumer_output *saved_output; struct ltt_kernel_channel *chan; /* Code flow error */ - assert(socket->fd >= 0); + assert(socket->fd); /* * Temporarly switch consumer output for our snapshot output. As long