From: Stefan Krah Date: Thu, 14 Nov 2013 14:35:47 +0000 (+0100) Subject: Add unused third arg for the benefit of Valgrind. X-Git-Tag: v3.4.0b1~281 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=49d047935720c04d674baed60dba8e832e0243f7;p=thirdparty%2FPython%2Fcpython.git Add unused third arg for the benefit of Valgrind. --- diff --git a/Python/fileutils.c b/Python/fileutils.c index eecbb3b57ae0..b504b1567167 100644 --- a/Python/fileutils.c +++ b/Python/fileutils.c @@ -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);