sockets.c: Fix incorrect usage of `strerror`
strerror
takes the errno
directly as its argument, negating it will result in an "Unknown error".
This patch fixed the trivial mistake.
strerror
takes the errno
directly as its argument, negating it will result in an "Unknown error".
This patch fixed the trivial mistake.