From 0958897f0e1cacc3e13585aa7ed51e348ed75ac3 Mon Sep 17 00:00:00 2001 From: CleverMouse Date: Thu, 7 Jul 2011 13:01:22 +0000 Subject: [PATCH] board: abort infinite loop if logfile not created git-svn-id: svn://kolibrios.org@1998 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/system/board/trunk/board.asm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/programs/system/board/trunk/board.asm b/programs/system/board/trunk/board.asm index 8e4c8867ee..1cad77785f 100644 --- a/programs/system/board/trunk/board.asm +++ b/programs/system/board/trunk/board.asm @@ -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