VERBOSE (ERROR, PERROR ("Can't read directory (%s)\n", temp));
return 1;
}
- char *ntemp = tempname (temp);
+ char *ntemp = tempname (temp, NULL);
FILE *ftemp = fopen (ntemp, "w");
if (ftemp == NULL) {
VERBOSE (ERROR, PERROR ("Can't write temporary file (%s)\n", ntemp));