changeset 169:39838e7d38be noffle

[svn] fix missing argument to snprintf
author enz
date Wed, 28 Feb 2001 18:59:00 +0000
parents cf2274194d38
children ad4490c377a4
files ChangeLog src/database.c
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 <me@markus-enzenberger.de>
+
+ * src/database.c: fix missing argument to snprintf
+
 Sun Feb 26 2001 Matija Nalis <mnalis-sf@voyager.hr>
 
  * fix for small glitches in options parting in src/noffle.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;
     }