forked from KolibriOS/kolibrios
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:
parent
8c0bdb0718
commit
0958897f0e
@ -106,7 +106,7 @@ still:
|
|||||||
mov esi, filename
|
mov esi, filename
|
||||||
mov [filepos], 0
|
mov [filepos], 0
|
||||||
call CreateFile
|
call CreateFile
|
||||||
jmp .write_to_logfile
|
jnc .write_to_logfile
|
||||||
@@:
|
@@:
|
||||||
inc [filepos]
|
inc [filepos]
|
||||||
popa
|
popa
|
||||||
@ -282,7 +282,6 @@ CreateFile:
|
|||||||
mov dword [InfoStructure+20], 0 ; reserved
|
mov dword [InfoStructure+20], 0 ; reserved
|
||||||
mov dword [InfoStructure+21], esi ; pointer to the file name
|
mov dword [InfoStructure+21], esi ; pointer to the file name
|
||||||
mcall 70, InfoStructure
|
mcall 70, InfoStructure
|
||||||
clc
|
|
||||||
test eax, eax
|
test eax, eax
|
||||||
jz .out
|
jz .out
|
||||||
stc
|
stc
|
||||||
|
Loading…
Reference in New Issue
Block a user