board: abort infinite loop if logfile not created

git-svn-id: svn://kolibrios.org@1998 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
CleverMouse 2011-07-07 13:01:22 +00:00
parent 8c0bdb0718
commit 0958897f0e

View File

@ -106,7 +106,7 @@ still:
mov esi, filename
mov [filepos], 0
call CreateFile
jmp .write_to_logfile
jnc .write_to_logfile
@@:
inc [filepos]
popa
@ -282,7 +282,6 @@ CreateFile:
mov dword [InfoStructure+20], 0 ; reserved
mov dword [InfoStructure+21], esi ; pointer to the file name
mcall 70, InfoStructure
clc
test eax, eax
jz .out
stc