# HG changeset patch # User enz # Date 983386740 0 # Node ID 39838e7d38be56cc0f3a7c866c3ea835f03feff0 # Parent cf2274194d38b0a21fe63a7a1cd1b4c3073dd5b3 [svn] fix missing argument to snprintf diff -r cf2274194d38 -r 39838e7d38be ChangeLog --- a/ChangeLog Mon Feb 26 22:41:26 2001 +0000 +++ b/ChangeLog Wed Feb 28 18:59:00 2001 +0000 @@ -1,3 +1,7 @@ +Wed Feb 28 2001 Markus Enzenberger + + * src/database.c: fix missing argument to snprintf + Sun Feb 26 2001 Matija Nalis * fix for small glitches in options parting in src/noffle.c diff -r cf2274194d38 -r 39838e7d38be src/database.c --- a/src/database.c Mon Feb 26 22:41:26 2001 +0000 +++ b/src/database.c Wed Feb 28 18:59:00 2001 +0000 @@ -1,7 +1,7 @@ /* database.c - $Id: database.c 183 2000-07-25 12:14:54Z bears $ + $Id: database.c 262 2001-02-28 18:59:00Z 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)", errMsg() ); + Log_err( "Error opening %s for read/write (%s)", name, errMsg() ); Db_close(); return FALSE; }