]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fixing printf arg mismatch
authorWilliam King <william.king@quentustech.com>
Tue, 29 Oct 2013 00:01:13 +0000 (17:01 -0700)
committerWilliam King <william.king@quentustech.com>
Tue, 29 Oct 2013 00:01:13 +0000 (17:01 -0700)
src/mod/languages/mod_lua/mod_lua.cpp

index 3d79dd8d0ea2a4956436bdc0b180fa6cf204b4d3..a21643bc97ed0a0a1f6f76cde3871185c9dd8f96 100644 (file)
@@ -350,7 +350,7 @@ static switch_status_t do_config(void)
                                                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "cannot set event handler: unsuccessful bind\n");
                                        }
                                } else {
-                                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "cannot set event handler: no script name\n", event);
+                                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "cannot set event handler: no script name for event type '%s'\n", event);
                                }
                        } else {
                                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "cannot set event handler: unknown event type '%s'\n", event);