diff --git a/kernel/trunk/network/socket.inc b/kernel/trunk/network/socket.inc index 0fa79383ee..8a9bd1a9c9 100644 --- a/kernel/trunk/network/socket.inc +++ b/kernel/trunk/network/socket.inc @@ -256,6 +256,8 @@ macro SOCKET_init { align 4 sys_socket: + mov dword[esp+24], 0 ; Set error code to 0 + cmp ebx, 255 jz SOCKET_debug