mirror of https://github.com/python/cpython
gh-120296: Fix format string of fcntl.ioctl() audit (#120301)
This commit is contained in:
parent
0ae8579b85
commit
e5a7bc6f2e
|
@ -170,7 +170,7 @@ fcntl_ioctl_impl(PyObject *module, int fd, unsigned long code,
|
|||
Py_ssize_t len;
|
||||
char buf[IOCTL_BUFSZ+1]; /* argument plus NUL byte */
|
||||
|
||||
if (PySys_Audit("fcntl.ioctl", "iIO", fd, code,
|
||||
if (PySys_Audit("fcntl.ioctl", "ikO", fd, code,
|
||||
ob_arg ? ob_arg : Py_None) < 0) {
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue