On a Tuesday in 2021, Peter Krempa wrote:
Use g_strndup with a freed buffer instead of the more complex
approach
using virStrndup.
s/virStrndup/virStrncpy/ here and in the commit summary.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/libxl/xen_xl.c | 51 ++++++++++------------------------------------
1 file changed, 11 insertions(+), 40 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano