From 9550c28e6efd7f517e441be848dabdb2da32c4fd Mon Sep 17 00:00:00 2001 From: Collin Date: Thu, 26 Jun 2025 21:14:02 -0500 Subject: [PATCH] Update os/log.c this cleans up comments Co-authored-by: Vedraj Gawas --- os/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {