diff options
Diffstat (limited to 'channels/console_gui.c')
-rw-r--r-- | channels/console_gui.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/channels/console_gui.c b/channels/console_gui.c index 375a4019c..f49152a73 100644 --- a/channels/console_gui.c +++ b/channels/console_gui.c @@ -976,7 +976,7 @@ static void eventhandler(struct video_desc *env, const char *caption) case SDL_ACTIVEEVENT: #if 0 /* do not react, we don't want to die because the window is minimized */ if (ev[i].active.gain == 0 && ev[i].active.state & SDL_APPACTIVE) { - ast_log(LOG_WARNING, "/* somebody has killed us ? */"); + ast_log(LOG_WARNING, "/* somebody has killed us ? */\n"); ast_cli_command(gui->outfd, "stop now"); } #endif @@ -1635,7 +1635,7 @@ static int keypad_cfg_read(struct gui_info *gui, const char *val) if (gui->kp_size == 0) { gui->kp = ast_calloc(10, sizeof(e)); if (gui->kp == NULL) { - ast_log(LOG_WARNING, "cannot allocate kp"); + ast_log(LOG_WARNING, "cannot allocate kp\n"); return 0; } gui->kp_size = 10; @@ -1643,7 +1643,7 @@ static int keypad_cfg_read(struct gui_info *gui, const char *val) if (gui->kp_size == gui->kp_used) { /* must allocate */ struct keypad_entry *a = ast_realloc(gui->kp, sizeof(e)*(gui->kp_size+10)); if (a == NULL) { - ast_log(LOG_WARNING, "cannot reallocate kp"); + ast_log(LOG_WARNING, "cannot reallocate kp\n"); return 0; } gui->kp = a; |