summaryrefslogtreecommitdiffstats
path: root/usr.sbin/npppd
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2019-02-22 07:04:20 +0000
committerjmc <jmc@openbsd.org>2019-02-22 07:04:20 +0000
commit76e6f9275a1cb83a1c41b95105dc3ab83d8dc268 (patch)
treefe8d5870986225398ea843e3069cac152cbb9069 /usr.sbin/npppd
parentperform removal of agent-forwarding directory in forward setup error (diff)
downloadwireguard-openbsd-76e6f9275a1cb83a1c41b95105dc3ab83d8dc268.tar.xz
wireguard-openbsd-76e6f9275a1cb83a1c41b95105dc3ab83d8dc268.zip
errror -> error in log messages; from alessandro gallo
Diffstat (limited to 'usr.sbin/npppd')
-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);