Make jj's patch build

This commit is contained in:
Arnaud Cornet 2008-06-01 11:11:03 +02:00
parent e863227099
commit 35e5812448
1 changed files with 1 additions and 1 deletions

View File

@ -2122,7 +2122,7 @@ void oidentd_dump(bip_t *bip)
char tag_written = 0;
if (stat(bip->oidentdpath, &stats) == -1) {
if (errno == ENOENT && (f = fopen(bip->oidentdpath, "w+")))
if (errno == ENOENT && (f = fopen(bip->oidentdpath, "w+"))) {
fchmod(fileno(f), 0644);
} else {
mylog(LOG_WARN, "Can't open/create %s",