- if (mkdir(CS buffer, mode) < 0 && errno != EEXIST)
- {
- if (!panic) return FALSE;
- log_write(0, LOG_MAIN|LOG_PANIC_DIE,
- "Failed to create directory \"%s\": %s\n", buffer, strerror(errno));
- }
+ if (mkdir(CS path, mode) < 0 && errno != EEXIST)
+ { p = US"create"; goto bad; }