Kaydet (Commit) 81b24c02 authored tarafından Guido van Rossum's avatar Guido van Rossum

Fix bad format char in error msg (%s should be %d).

Keep gcc -Wall happy.
üst 80bb9655
...@@ -193,7 +193,7 @@ bsddb_dealloc(dp) ...@@ -193,7 +193,7 @@ bsddb_dealloc(dp)
if (dp->di_bsddb != NULL) { if (dp->di_bsddb != NULL) {
if ((dp->di_bsddb->close)(dp->di_bsddb) != 0) if ((dp->di_bsddb->close)(dp->di_bsddb) != 0)
fprintf(stderr, fprintf(stderr,
"Python bsddb: close errno %s in dealloc\n", errno); "Python bsddb: close errno %d in dealloc\n", errno);
} }
PyMem_DEL(dp); PyMem_DEL(dp);
} }
...@@ -225,7 +225,6 @@ bsddb_subscript(dp, key) ...@@ -225,7 +225,6 @@ bsddb_subscript(dp, key)
PyObject *key; PyObject *key;
{ {
int status; int status;
PyObject *v;
DBT krec, drec; DBT krec, drec;
char *data; char *data;
int size; int size;
...@@ -381,7 +380,6 @@ bsddb_set_location(dp, key) ...@@ -381,7 +380,6 @@ bsddb_set_location(dp, key)
PyObject *key; PyObject *key;
{ {
int status; int status;
PyObject *v;
DBT krec, drec; DBT krec, drec;
char *data; char *data;
int size; int size;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment