diff --git a/kernel/branches/net/network/socket.inc b/kernel/branches/net/network/socket.inc
index 2faac38120..d4ee035eb9 100644
--- a/kernel/branches/net/network/socket.inc
+++ b/kernel/branches/net/network/socket.inc
@@ -110,7 +110,7 @@ sys_socket:
 	dec	bl
 	jz	socket_recv	; 7
 
-error:
+.error:
 	mov	dword [esp+32],-1
 
 	ret