Missing negative sign to interpret error code
authorDavid Goulet <david.goulet@polymtl.ca>
Thu, 22 Sep 2011 21:14:58 +0000 (17:14 -0400)
committerDavid Goulet <david.goulet@polymtl.ca>
Thu, 22 Sep 2011 21:14:58 +0000 (17:14 -0400)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
ltt-sessiond/main.c

index a1c7ff89e299bc6e2f637e5d6ef8612230ff18de..bcb43e19d423345fda151561f2a5b3353eeeef96 100644 (file)
@@ -2834,7 +2834,7 @@ static void *thread_manage_clients(void *data)
 
                DBG("Sending response (size: %d, retcode: %s)",
                                cmd_ctx->lttng_msg_size,
-                               lttng_get_readable_code(cmd_ctx->llm->ret_code));
+                               lttng_get_readable_code(-cmd_ctx->llm->ret_code));
                ret = send_unix_sock(sock, cmd_ctx->llm, cmd_ctx->lttng_msg_size);
                if (ret < 0) {
                        ERR("Failed to send data back to client");
This page took 0.042295 seconds and 4 git commands to generate.