diff src/database.c @ 169:39838e7d38be noffle

[svn] fix missing argument to snprintf
author enz
date Wed, 28 Feb 2001 18:59:00 +0000
parents 3c71e28c8eef
children ad4490c377a4
line wrap: on
line diff
--- 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;
     }