Add unused third arg for the benefit of Valgrind.

This commit is contained in:
Stefan Krah 2013-11-14 15:35:47 +01:00
parent e109ee8205
commit 49d0479357

View File

@ -675,7 +675,7 @@ set_inheritable(int fd, int inheritable, int raise, int *atomic_flag_works)
request = FIONCLEX;
else
request = FIOCLEX;
err = ioctl(fd, request);
err = ioctl(fd, request, NULL);
if (err) {
if (raise)
PyErr_SetFromErrno(PyExc_OSError);