mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 17:19:43 -05:00
Get rid of two compilation warnings. One is thought to be properly
taken care of. The second, however, on remove_old_locks is unclear.
This commit is contained in:
parent
e74ff638ba
commit
1df71e1814
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue