diff --git a/res/res_agi.c b/res/res_agi.c index 0bf6290048..229ce72779 100644 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -4060,7 +4060,7 @@ static enum agi_result agi_handle_command(struct ast_channel *chan, AGI *agi, ch ast_agi_send(agi->fd, chan, "520 Invalid command syntax. Proper usage not available.\n"); } else { ast_agi_send(agi->fd, chan, "520-Invalid command syntax. Proper usage follows:\n"); - ast_agi_send(agi->fd, chan, "%s", c->usage); + ast_agi_send(agi->fd, chan, "%s\n", c->usage); ast_agi_send(agi->fd, chan, "520 End of proper usage.\n"); }