Skip to content

Commit e5a7bc6

Browse files
authored
gh-120296: Fix format string of fcntl.ioctl() audit (#120301)
1 parent 0ae8579 commit e5a7bc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/fcntlmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ fcntl_ioctl_impl(PyObject *module, int fd, unsigned long code,
170170
Py_ssize_t len;
171171
char buf[IOCTL_BUFSZ+1]; /* argument plus NUL byte */
172172

173-
if (PySys_Audit("fcntl.ioctl", "iIO", fd, code,
173+
if (PySys_Audit("fcntl.ioctl", "ikO", fd, code,
174174
ob_arg ? ob_arg : Py_None) < 0) {
175175
return NULL;
176176
}

0 commit comments

Comments
 (0)