mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-120296: Fix format string of fcntl.ioctl() audit (#120301)
This commit is contained in:
parent
0ae8579b85
commit
e5a7bc6f2e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue