diff options
-rw-r--r-- | Modules/pyexpat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 21ab0882ca..ae98ef721a 100644 --- a/Modules/pyexpat.c +++ b/Modules/pyexpat.c @@ -831,7 +831,7 @@ readinst(char *buf, int buf_size, PyObject *meth) if (len > buf_size) { PyErr_Format(PyExc_ValueError, "read() returned too much data: " - "%i bytes requested, %zi returned", + "%i bytes requested, %zd returned", buf_size, len); goto finally; } |