From f0bf14e99b8ee5581c826fa857676440de2846c4 Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Sat, 9 Sep 2017 23:11:09 +0100 Subject: [PATCH] fdutils.pyx (fdflags): Fix disastrous variable-name error. Organization: Straylight/Edgeware From: Mark Wooding --- fdutils.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdutils.pyx b/fdutils.pyx index 55c8ca1..71135e6 100644 --- a/fdutils.pyx +++ b/fdutils.pyx @@ -38,7 +38,7 @@ def fdflags(file, FILE may be integer file descriptor or an object with `fileno' method. """ cdef int rc - rc = _fdflags(_getfd(fd), fbix, fxor, fdbic, fdxor) + rc = _fdflags(_getfd(file), fbic, fxor, fdbic, fdxor) if rc < 0: _oserror() return rc -- [mdw]