Fix: clock -> sock typo
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 2 Mar 2012 20:20:45 +0000 (15:20 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 2 Mar 2012 20:20:45 +0000 (15:20 -0500)
Acked-by: David Goulet <dgoulet@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/bin/lttng-sessiond/main.c

index 17ef7f71c318b60990f36ebe6ea2b6bde326e647..5644cb82d9998b74f55e5a9c13a0ab77cb7d7dde 100644 (file)
@@ -1465,7 +1465,7 @@ error:
                        PERROR("close");
                }
        }
-       if (clock >= 0) {
+       if (sock >= 0) {
                ret = close(sock);
                if (ret) {
                        PERROR("close");
This page took 0.028609 seconds and 4 git commands to generate.