mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
[EVENTLOG]
Fix broken if condition svn path=/trunk/; revision=53792
This commit is contained in:
parent
8ddfcc0ce0
commit
b7f5be021d
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ BOOL LogfInitializeExisting(PLOGFILE LogFile)
|
||||||
But for now limit EventLog size to just under 5K. */
|
But for now limit EventLog size to just under 5K. */
|
||||||
LogFile->Header.MaxSize = 5000;
|
LogFile->Header.MaxSize = 5000;
|
||||||
|
|
||||||
if (!SetFilePointer(LogFile->hFile, 0, NULL, FILE_BEGIN) ==
|
if (SetFilePointer(LogFile->hFile, 0, NULL, FILE_BEGIN) ==
|
||||||
INVALID_SET_FILE_POINTER)
|
INVALID_SET_FILE_POINTER)
|
||||||
{
|
{
|
||||||
DPRINT1("SetFilePointer() failed! %d\n", GetLastError());
|
DPRINT1("SetFilePointer() failed! %d\n", GetLastError());
|
||||||
|
|
Loading…
Reference in a new issue