From: Jérémie Galarneau Date: Tue, 8 Oct 2019 18:01:54 +0000 (-0400) Subject: Fix: tests: replace truncation-prone logging helper X-Git-Tag: v2.10.9~2 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=a7793ad175612b1d94088d292eed13d77e9cd853;hp=a7793ad175612b1d94088d292eed13d77e9cd853;p=lttng-tools.git Fix: tests: replace truncation-prone logging helper The printerr() error logging scheme in test_utils_expand_path is prone to unexpected truncations which results in a lot of warnings when building using GCC 9.2. It is replaced by a variable-argument macro that uses fprintf() directly. Signed-off-by: Jérémie Galarneau ---