mirror of
https://gitlab.gnome.org/GNOME/libmks.git
synced 2024-12-22 05:35:21 +00:00
lib: fix params to socketpair()
This commit is contained in:
parent
ed03ea5148
commit
084edf38eb
@ -249,7 +249,7 @@ create_socketpair (int *us,
|
||||
int fds[2];
|
||||
int rv;
|
||||
|
||||
rv = socketpair (AF_UNIX, SOCK_NONBLOCK|SOCK_CLOEXEC, SOCK_STREAM, fds);
|
||||
rv = socketpair (AF_UNIX, SOCK_STREAM|SOCK_NONBLOCK|SOCK_CLOEXEC, 0, fds);
|
||||
|
||||
if (rv != 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user