From 1df71e1814911a456d263f12e214016aae7d5d4b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Julio=20S=C3=A1nchez=20Fern=C3=A1ndez?= Date: Wed, 14 Jul 1999 19:51:35 +0000 Subject: [PATCH] Get rid of two compilation warnings. One is thought to be properly taken care of. The second, however, on remove_old_locks is unclear. --- servers/slapd/back-bdb2/startup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/back-bdb2/startup.c b/servers/slapd/back-bdb2/startup.c index a1f8bc69ce..a80dee9498 100644 --- a/servers/slapd/back-bdb2/startup.c +++ b/servers/slapd/back-bdb2/startup.c @@ -22,7 +22,7 @@ static void remove_old_locks( char *home ); static void -bdb2i_db_errcall( char *prefix, char *message ) +bdb2i_db_errcall( const char *prefix, char *message ) { Debug( LDAP_DEBUG_ANY, "bdb2_db_errcall(): %s %s", prefix, message, 0 ); } @@ -234,7 +234,7 @@ remove_old_locks( char *home ) int err; memset( &dbEnv, 0, sizeof( DB_ENV )); - dbEnv.db_errcall = stderr; + dbEnv.db_errcall = bdb2i_db_errcall; dbEnv.db_errpfx = "remove_old_locks(): db_appinit:"; dbEnv.lk_max = 0; -- 2.39.5