From 111198c20e792773b4c7e2e95a3fe8e5cb95d144 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 22 Mar 2013 12:24:07 -0400 Subject: [PATCH] Fix: ustctl_recv_register_event pointer mixup Was causing some event names to appear as "" in metadata. Signed-off-by: Mathieu Desnoyers --- liblttng-ust-ctl/ustctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liblttng-ust-ctl/ustctl.c b/liblttng-ust-ctl/ustctl.c index 375b4db5..0361f184 100644 --- a/liblttng-ust-ctl/ustctl.c +++ b/liblttng-ust-ctl/ustctl.c @@ -1578,7 +1578,7 @@ int ustctl_recv_register_event(int sock, goto signature_error; } /* Enforce end of string */ - signature[signature_len - 1] = '\0'; + a_sign[signature_len - 1] = '\0'; /* recv fields */ if (fields_len) { -- 2.34.1