* Fixed syslog permissions.

* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34177 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2009-11-21 18:13:06 +00:00
parent 411d718eec
commit 752639885a

View File

@ -84,7 +84,7 @@ prepare_output()
bool haveSyslog = sLog >= 0;
// open file
sLog = open(syslog.Path(), O_APPEND | O_CREAT | O_WRONLY, 644);
sLog = open(syslog.Path(), O_APPEND | O_CREAT | O_WRONLY, 0644);
if (!haveSyslog && sLog >= 0) {
// first time open, check file size again
prepare_output();