1 /* error.c - BDB errcall routine */
4 * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
5 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
11 #include <ac/string.h>
16 void bdb_errcall( const char *pfx, char * msg )
23 LDAP_LOG ( OPERATION, INFO, "bdb(%s): %s\n", pfx, msg, 0 );
25 Debug( LDAP_DEBUG_ANY, "bdb(%s): %s\n", pfx, msg, 0 );
34 char *ebcdic_dberror( int rc )
36 static char msg[1024];
38 strcpy( msg, db_strerror( rc ) );