Fixed typo with strncpy.