Of course, as noted elsewhere, <code>
line_buff[0] = '\0';
strncat(line_buff, ip->name, len);
</code> is another way to write this.

I see that our libcompat/strlcat.c ensures we do in fact have strlcat() available.