projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Changes to fix the compile for FreeBSD 5.3.
[ircu2.10.12-pk.git]
/
ircd
/
ircd_log.c
diff --git
a/ircd/ircd_log.c
b/ircd/ircd_log.c
index 66b3318b1941cf47f2a76d5df928490ba57308dc..008ab3bdd29e1728815403417156dd3950da58f5 100644
(file)
--- a/
ircd/ircd_log.c
+++ b/
ircd/ircd_log.c
@@
-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_IR
EAD | S_IWRITE
);
+ S_IR
USR | S_IWUSR
);
alarm(0);
}
}