From af4695e15c3d8a552c3d7da8ce99937026c52588 Mon Sep 17 00:00:00 2001 From: "Rustem Gimadutdinov (rgimad)" Date: Tue, 24 Nov 2020 14:20:23 +0000 Subject: [PATCH] fix return value from .addr_error in sysfn 26.2 , 9 git-svn-id: svn://kolibrios.org@8249 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/kernel.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/trunk/kernel.asm b/kernel/trunk/kernel.asm index fcd23f4720..d876aa07b3 100644 --- a/kernel/trunk/kernel.asm +++ b/kernel/trunk/kernel.asm @@ -1806,7 +1806,7 @@ sys_getsetup: ret .addr_error: ; if given memory address is illegal - mov eax, -1 + mov dword [esp+32], -1 ret ;-------------------------------------- @@: @@ -3268,7 +3268,7 @@ sys_cpuusage: ret .addr_error: ; if given memory address is illegal - mov eax, -1 + mov dword [esp+32], -1 ret align 4