]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
oops, compile fix
authorRupa Schomaker <rupa@rupa.com>
Fri, 2 Jul 2010 05:13:44 +0000 (00:13 -0500)
committerRupa Schomaker <rupa@rupa.com>
Fri, 2 Jul 2010 05:13:44 +0000 (00:13 -0500)
src/mod/applications/mod_db/mod_db.c

index f0c1e6109ce13f54df80a5b910548907630aa90c..2678b4da38aad52ae6ead6b13ba2dd5177809a91 100644 (file)
@@ -292,7 +292,7 @@ static switch_status_t do_config()
        limit_config_dsn.pool = globals.pool;
 
        if (switch_xml_config_parse_module_settings("db.conf", SWITCH_FALSE, config_settings) != SWITCH_STATUS_SUCCESS) {
-               switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING, "No config file found, defaulting to sqlite\n", DB_USAGE);
+               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "No config file found, defaulting to sqlite\n");
        }
 
        if (globals.odbc_dsn) {