GCC warned that the output string would not be nul-terminated if the
input string was too long. Fix this by subtracting 1 from the size
argument, as is done for other `strncpy` calls in the file. (It would
probably be better to avoid `strncpy` entirely, but this is just a
simple fix.)