NULL, in line with perror(3). However, the code presently checks only for a zero-length string. Check for both.