mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
Fix bad format char in error msg (%s should be %d).
Keep gcc -Wall happy.
This commit is contained in:
parent
80bb9655f0
commit
81b24c0221
1 changed files with 1 additions and 3 deletions
|
@ -193,7 +193,7 @@ bsddb_dealloc(dp)
|
|||
if (dp->di_bsddb != NULL) {
|
||||
if ((dp->di_bsddb->close)(dp->di_bsddb) != 0)
|
||||
fprintf(stderr,
|
||||
"Python bsddb: close errno %s in dealloc\n", errno);
|
||||
"Python bsddb: close errno %d in dealloc\n", errno);
|
||||
}
|
||||
PyMem_DEL(dp);
|
||||
}
|
||||
|
@ -225,7 +225,6 @@ bsddb_subscript(dp, key)
|
|||
PyObject *key;
|
||||
{
|
||||
int status;
|
||||
PyObject *v;
|
||||
DBT krec, drec;
|
||||
char *data;
|
||||
int size;
|
||||
|
@ -381,7 +380,6 @@ bsddb_set_location(dp, key)
|
|||
PyObject *key;
|
||||
{
|
||||
int status;
|
||||
PyObject *v;
|
||||
DBT krec, drec;
|
||||
char *data;
|
||||
int size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue