From: Mathieu Desnoyers Date: Fri, 2 Mar 2012 20:20:45 +0000 (-0500) Subject: Fix: clock -> sock typo X-Git-Tag: v2.0.0-rc2~7 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=46c3f085f3c7adac284c3081406c8dd9292a4a0c;p=lttng-tools.git Fix: clock -> sock typo Acked-by: David Goulet Signed-off-by: Mathieu Desnoyers --- diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c index 17ef7f71c..5644cb82d 100644 --- a/src/bin/lttng-sessiond/main.c +++ b/src/bin/lttng-sessiond/main.c @@ -1465,7 +1465,7 @@ error: PERROR("close"); } } - if (clock >= 0) { + if (sock >= 0) { ret = close(sock); if (ret) { PERROR("close");