(kdb_get_library_name, kdb_load_library): Use it.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17965
dc483132-0cff-0310-8789-
dd5450dbe970
goto clean_n_exit;
}
+#define DB2_NAME "db2.so"
/* we got the module section. Get the library name from the module */
status = profile_get_string(kcontext->profile, KDB_MODULE_SECTION, value,
KDB_LIB_POINTER,
/* default to db2 */
- "db2",
+ DB2_NAME,
&lib);
if (status) {
char **profpath = NULL;
char **path = NULL;
- if (!strcmp("db2", lib_name) && (kdb_db2_pol_err_loaded == 0)) {
+ if (!strcmp(DB2_NAME, lib_name) && (kdb_db2_pol_err_loaded == 0)) {
initialize_adb_error_table();
kdb_db2_pol_err_loaded = 1;
}