Clean-up: lttngctl: copy string using strdup instead of asprintf
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 2 Nov 2021 19:35:27 +0000 (15:35 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 2 Nov 2021 19:35:32 +0000 (15:35 -0400)
Use strdup to copy a string instead of using the formatting utilities.
The code of the function is also adapted to follow the coding standards.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I13328737e42a0287a7402761f75c67eef0dbdfdd


No differences found
This page took 0.025177 seconds and 4 git commands to generate.