diff Python/fileutils.c @ 87098:e539761d45e3

Add unused third arg for the benefit of Valgrind.
author Stefan Krah <skrah@bytereef.org>
date Thu, 14 Nov 2013 15:35:47 +0100
parents eeec58c57964
children 37d36a029df0
line wrap: on
line diff
--- a/Python/fileutils.c	Wed Nov 13 23:49:49 2013 -0500
+++ b/Python/fileutils.c	Thu Nov 14 15:35:47 2013 +0100
@@ -675,7 +675,7 @@
         request = FIONCLEX;
     else
         request = FIOCLEX;
-    err = ioctl(fd, request);
+    err = ioctl(fd, request, NULL);
     if (err) {
         if (raise)
             PyErr_SetFromErrno(PyExc_OSError);