Adjust the strncpy() call in tapif.c to how this is coded in other strncpy() invocations. Also gcc warns about this. See patch #10142