summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2019-02-22 07:04:21 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2019-02-22 07:04:21 +0000
commit7a80a94f82df54510b6e8ebe10e176bd1ea53bad (patch)
tree6a7c992340795f53a2f03dfd22deefe4e7acdd3e /usr.sbin
parentf1ec189723f079b2c0ede58716cb6a2cc3a56cb8 (diff)
errror -> error in log messages; from alessandro gallo
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/npppd/l2tp/l2tpd.c6
-rw-r--r--usr.sbin/npppd/pppoe/pppoed.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/npppd/l2tp/l2tpd.c b/usr.sbin/npppd/l2tp/l2tpd.c
index aa5cff1d594..047f677e395 100644
--- a/usr.sbin/npppd/l2tp/l2tpd.c
+++ b/usr.sbin/npppd/l2tp/l2tpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: l2tpd.c,v 1.20 2017/10/06 07:46:44 yasuoka Exp $ */
+/* $OpenBSD: l2tpd.c,v 1.21 2019/02/22 07:04:20 jmc Exp $ */
/*-
* Copyright (c) 2009 Internet Initiative Japan Inc.
@@ -26,7 +26,7 @@
* SUCH DAMAGE.
*/
/**@file L2TP(Layer Two Tunneling Protocol "L2TP") / RFC2661 */
-/* $Id: l2tpd.c,v 1.20 2017/10/06 07:46:44 yasuoka Exp $ */
+/* $Id: l2tpd.c,v 1.21 2019/02/22 07:04:20 jmc Exp $ */
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
@@ -233,7 +233,7 @@ l2tpd_assign_call(l2tpd *_this, l2tp_call *call)
L2TPD_ASSERT(shuffle_cnt == 0);
if (shuffle_cnt++ > 0) {
l2tpd_log(_this, LOG_ERR,
- "unexpected errror in %s(): free_session_id_list "
+ "unexpected error in %s(): free_session_id_list "
"full", __func__);
slist_add(&_this->free_session_id_list,
(void *)L2TP_SESSION_ID_SHUFFLE_MARK);
diff --git a/usr.sbin/npppd/pppoe/pppoed.c b/usr.sbin/npppd/pppoe/pppoed.c
index 75b6fa97f0c..5b3f09dccb1 100644
--- a/usr.sbin/npppd/pppoe/pppoed.c
+++ b/usr.sbin/npppd/pppoe/pppoed.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pppoed.c,v 1.21 2017/04/19 05:36:13 natano Exp $ */
+/* $OpenBSD: pppoed.c,v 1.22 2019/02/22 07:04:20 jmc Exp $ */
/*-
* Copyright (c) 2009 Internet Initiative Japan Inc.
@@ -28,7 +28,7 @@
/**@file
* This file provides the PPPoE(RFC2516) server(access concentrator)
* implementaion.
- * $Id: pppoed.c,v 1.21 2017/04/19 05:36:13 natano Exp $
+ * $Id: pppoed.c,v 1.22 2019/02/22 07:04:20 jmc Exp $
*/
#include <sys/param.h> /* ALIGN */
#include <sys/types.h>
@@ -827,7 +827,7 @@ pppoed_recv_PADR(pppoed_listener *_this, uint8_t shost[ETHER_ADDR_LEN],
PPPOED_ASSERT(shuffle_cnt == 0);
if (shuffle_cnt++ > 0) {
pppoed_log(_pppoed, LOG_ERR,
- "unexpected errror in %s(): session_free_list full",
+ "unexpected error in %s(): session_free_list full",
__func__);
slist_add(&_pppoed->session_free_list,
(void *)PPPOED_SESSION_SHUFFLE_MARK);