diff options
author | Guido van Rossum <guido@python.org> | 1996-12-05 23:30:16 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-12-05 23:30:16 (GMT) |
commit | 81b24c0221fd829d69c43367b1f9eb3c6ac81d70 (patch) | |
tree | c7d89dce9d31dc51d6a7a976c9c1024b8499bf8b /Modules/bsddbmodule.c | |
parent | 80bb9655f0e0843199b46719b032f2dc737cf013 (diff) | |
download | cpython-81b24c0221fd829d69c43367b1f9eb3c6ac81d70.zip cpython-81b24c0221fd829d69c43367b1f9eb3c6ac81d70.tar.gz cpython-81b24c0221fd829d69c43367b1f9eb3c6ac81d70.tar.bz2 |
Fix bad format char in error msg (%s should be %d).
Keep gcc -Wall happy.
Diffstat (limited to 'Modules/bsddbmodule.c')
-rw-r--r-- | Modules/bsddbmodule.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Modules/bsddbmodule.c b/Modules/bsddbmodule.c index c4155ac..01b1116 100644 --- a/Modules/bsddbmodule.c +++ b/Modules/bsddbmodule.c @@ -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; |