From: Jérémie Galarneau Date: Tue, 2 Nov 2021 19:35:27 +0000 (-0400) Subject: Clean-up: lttngctl: copy string using strdup instead of asprintf X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=e32a3d0f431b41123e001abcbce329da6532f903;hp=e32a3d0f431b41123e001abcbce329da6532f903;p=lttng-tools.git Clean-up: lttngctl: copy string using strdup instead of asprintf 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 Signed-off-by: Jérémie Galarneau Change-Id: I13328737e42a0287a7402761f75c67eef0dbdfdd ---