From 489354037dde9d59a19945ea63bdbfb1a77160b9 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Tue, 13 Feb 2007 02:48:50 +0000 Subject: [PATCH] indirection misdirection? git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4222 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_core.c b/src/switch_core.c index 88d069fce3..a6a012037e 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -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; }