From 49d047935720c04d674baed60dba8e832e0243f7 Mon Sep 17 00:00:00 2001 From: Stefan Krah Date: Thu, 14 Nov 2013 15:35:47 +0100 Subject: Add unused third arg for the benefit of Valgrind. --- Python/fileutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/fileutils.c') diff --git a/Python/fileutils.c b/Python/fileutils.c index eecbb3b57a..b504b15671 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); -- cgit v1.2.1