yanglint: CHANGE: do not use asprintf
yanglint: CHANGE: do not use asprintf

The previously commented code did not work
because strncpy() does not add a terminating
'\0' after the copied string, strcpy() does
that.

PavolVican/libyang,lukasmacko/libyang,PavolVican/libyang,lukasmacko/libyang,PavolVican/libyang,PavolVican/libyang,PavolVican/libyang