overzealous close bracket, thanks Oliver for catching it!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40873 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -35,9 +35,9 @@ void create_log()
|
||||
|
||||
int flags = O_WRONLY | O_CREAT | ((gTruncateLogFile) ? O_TRUNC : 0);
|
||||
int filehandle = open(gLogFilePath, flags, 0666);
|
||||
|
||||
if (filehandle >= 0)
|
||||
close(filehandle);
|
||||
}
|
||||
|
||||
mutex_init(&gLogLock, DRIVER_NAME"-logging");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user