]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
indirection misdirection?
authorMichael Jerris <mike@jerris.com>
Tue, 13 Feb 2007 02:48:50 +0000 (02:48 +0000)
committerMichael Jerris <mike@jerris.com>
Tue, 13 Feb 2007 02:48:50 +0000 (02:48 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4222 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_core.c

index 88d069fce314ce6d076b29f057d3a675187a2a55..a6a012037e3301a110d34df26ffd3eed8267d3b8 100644 (file)
@@ -4272,7 +4272,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_init_and_modload(char *console, cons
        switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "Loading Modules.\n");
        if (switch_loadable_module_init() != SWITCH_STATUS_SUCCESS) {
                *err = "Cannot load modules";
-               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "Error: %s", err);
+               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "Error: %s", *err);
                return SWITCH_STATUS_GENERR;
        }