From 65ac36668004b1a44d906228e46aa477827b4395 Mon Sep 17 00:00:00 2001 From: v-atamanenko Date: Wed, 6 Oct 2021 03:08:38 +0400 Subject: [PATCH] test socket.c 2 --- newlib/libc/sys/vita/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newlib/libc/sys/vita/socket.c b/newlib/libc/sys/vita/socket.c index 2edbf4997..719f049c8 100644 --- a/newlib/libc/sys/vita/socket.c +++ b/newlib/libc/sys/vita/socket.c @@ -452,7 +452,7 @@ int socket(int domain, int type, int protocol) if (res < 0) { errno = __vita_sce_errno_to_errno(res); - return 99; + return errno; } int s = __vita_acquire_descriptor();