Replace strncpy by lttng_strncpy in session config
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 4 Jun 2018 15:23:18 +0000 (11:23 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 4 Jun 2018 15:23:20 +0000 (11:23 -0400)
commitd2e67842b4b31399cd581edcbf21fbf8bd2ca1f0
tree1c1d9e65b4617ef69283e4b89deed74433e0a071
parent00a7f6f86d22b9130b32a026f0d355e670b0a0ff
Replace strncpy by lttng_strncpy in session config

This eliminates a warning produced by GCC 8 in that repeated
code pattern (potential truncation of the source string) and
using the lttng_strncpy macro reduces code duplication.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/config/session-config.c
This page took 0.026269 seconds and 5 git commands to generate.