diff options
author | Stefan Krah <skrah@bytereef.org> | 2013-11-14 14:35:47 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2013-11-14 14:35:47 (GMT) |
commit | 49d047935720c04d674baed60dba8e832e0243f7 (patch) | |
tree | 73031a63a3018fc7c96e29271e63b0e129e3ac03 | |
parent | e109ee820523cbc9802dc238e842eba7b7fa7e74 (diff) | |
download | cpython-49d047935720c04d674baed60dba8e832e0243f7.zip cpython-49d047935720c04d674baed60dba8e832e0243f7.tar.gz cpython-49d047935720c04d674baed60dba8e832e0243f7.tar.bz2 |
Add unused third arg for the benefit of Valgrind.
-rw-r--r-- | Python/fileutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/fileutils.c b/Python/fileutils.c index eecbb3b..b504b15 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); |