From ddeee1ee45e0704c432f2d430231729421f27b0f Mon Sep 17 00:00:00 2001 From: Guillaume Nault Date: Fri, 28 Mar 2014 21:05:13 +0100 Subject: l2tp: fix typos in log messages * missing space char (l2tp_send_StopCCN) * missing new line char (l2tp_tunnel_create_session) Signed-off-by: Guillaume Nault --- accel-pppd/ctrl/l2tp/l2tp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'accel-pppd/ctrl') diff --git a/accel-pppd/ctrl/l2tp/l2tp.c b/accel-pppd/ctrl/l2tp/l2tp.c index 3cb2acbe..1dc06662 100644 --- a/accel-pppd/ctrl/l2tp/l2tp.c +++ b/accel-pppd/ctrl/l2tp/l2tp.c @@ -440,7 +440,7 @@ static int l2tp_send_StopCCN(struct l2tp_conn_t *conn, struct l2tp_packet_t *pack = NULL; struct l2tp_avp_result_code rc = {htons(res), htons(err)}; - log_tunnel(log_info2, conn, "sending StopCCN (res: %hu, err:%hu)\n", + log_tunnel(log_info2, conn, "sending StopCCN (res: %hu, err: %hu)\n", res, err); pack = l2tp_packet_alloc(2, Message_Type_Stop_Ctrl_Conn_Notify, @@ -3482,7 +3482,7 @@ static void l2tp_tunnel_create_session(void *data) sess = l2tp_tunnel_alloc_session(conn); if (sess == NULL) { log_tunnel(log_error, conn, "impossible to create session:" - " session allocation failed"); + " session allocation failed\n"); return; } sid = sess->sid; -- cgit v1.2.3