aboutsummaryrefslogtreecommitdiffstats
path: root/main/python/unchecked-ioctl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/python/unchecked-ioctl.patch')
-rw-r--r--main/python/unchecked-ioctl.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/python/unchecked-ioctl.patch b/main/python/unchecked-ioctl.patch
index e80a8ed6f1..77bed8a550 100644
--- a/main/python/unchecked-ioctl.patch
+++ b/main/python/unchecked-ioctl.patch
@@ -5,7 +5,7 @@
char buf[IOCTL_BUFSZ+1]; /* argument plus NUL byte */
- if (PyArg_ParseTuple(args, "O&Iw#|i:ioctl",
-+ if (PyArg_ParseTuple(args, "O&Iw#|I:ioctl",
++ if (PyArg_ParseTuple(args, "O&Iw#|n:ioctl",
conv_descriptor, &fd, &code,
&str, &len, &mutate_arg)) {
char *arg;