Fix use of perror, so the error message fits on one line