Changes to fix the compile for FreeBSD 5.3.
[ircu2.10.12-pk.git] / ircd / ircd_log.c
index 66b3318b1941cf47f2a76d5df928490ba57308dc..008ab3bdd29e1728815403417156dd3950da58f5 100644 (file)
@@ -197,7 +197,7 @@ log_open(struct LogFile *lf)
   if (lf && lf->fd < 0) {
     alarm(3); /* if NFS hangs, we hang only for 3 seconds */
     lf->fd = open(lf->file, O_WRONLY | O_CREAT | O_APPEND,
-                 S_IREAD | S_IWRITE);
+                 S_IRUSR | S_IWUSR);
     alarm(0);
   }
 }