# HG changeset patch # User enz # Date 983386893 0 # Node ID ad4490c377a49e1303beea7838f69dccdd4190ae # Parent 39838e7d38be56cc0f3a7c866c3ea835f03feff0 [svn] Fix bug in last change diff -r 39838e7d38be -r ad4490c377a4 src/database.c --- a/src/database.c Wed Feb 28 18:59:00 2001 +0000 +++ b/src/database.c Wed Feb 28 19:01:33 2001 +0000 @@ -1,7 +1,7 @@ /* database.c - $Id: database.c 262 2001-02-28 18:59:00Z enz $ + $Id: database.c 263 2001-02-28 19:01:33Z enz $ Uses GNU gdbm library. Using Berkeley db (included in libc6) was cumbersome. It is based on Berkeley db 1.85, which has severe bugs @@ -628,7 +628,7 @@ flags = GDBM_NEWDB | GDBM_FAST; if ( ! ( tmpDbf = gdbm_open( tmpName, 512, flags, 0644, NULL ) ) ) { - Log_err( "Error opening %s for read/write (%s)", name, errMsg() ); + Log_err( "Error opening %s for read/write (%s)", tmpName, errMsg() ); Db_close(); return FALSE; }