If errno is zero strerror_r does not modify the buffer, leaving it unterminated.