diff --git a/os/log.c b/os/log.c index 09bad3289..2f4a1d217 100644 --- a/os/log.c +++ b/os/log.c @@ -178,7 +178,7 @@ LogFilePrep(const char *fname, const char *backup, const char *idstring) if (asprintf(&logFileName, fname, idstring) == -1) FatalError("Cannot allocate space for the log file name\n"); - int fd = open(logFileName, O_RDWR | O_NOFOLLOW);Add commentMore actions + int fd = open(logFileName, O_RDWR | O_NOFOLLOW); if (fd != -1) { struct stat buf; if (fstat(fd, &buf) == 0 && S_ISREG(buf.st_mode)) {