Skip to content

sockets.c: Fix incorrect usage of `strerror`

i.Pear requested to merge i-Pear1/libvirt-php:master into master

strerror takes the errno directly as its argument, negating it will result in an "Unknown error".

This patch fixed the trivial mistake.

Merge request reports

Loading