From 4f59e3247024bfdb1a580691b99279a8a3adda85 Mon Sep 17 00:00:00 2001 From: Doczom Date: Sat, 23 Oct 2021 16:05:08 +0000 Subject: [PATCH] fix bug in my fix bug git-svn-id: svn://kolibrios.org@9223 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/kernel.asm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/trunk/kernel.asm b/kernel/trunk/kernel.asm index 1844c4c04a..9d677731e8 100644 --- a/kernel/trunk/kernel.asm +++ b/kernel/trunk/kernel.asm @@ -5218,7 +5218,7 @@ syscall_writetext: ; WriteText mov esi, 0 @@: stdcall is_region_userspace, edx, esi - jnz .err + jnz .err_1 pop esi mov eax, [TASK_BASE] @@ -5245,6 +5245,8 @@ align 4 stdcall is_region_userspace, edi, 0 jnz .err jmp dtext +.err_1: + pop esi .err: ret