Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net fix spelling mistake pointed out by roy@n.o



details:   https://anonhg.NetBSD.org/src/rev/ded6596e984d
branches:  trunk
changeset: 346125:ded6596e984d
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Mon Jun 27 10:09:02 2016 +0000

description:
fix spelling mistake pointed out by roy@n.o

diffstat:

 sys/net/if.c |  10 +++++-----
 sys/net/if.h |   4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (63 lines):

diff -r 70945d40ab5f -r ded6596e984d sys/net/if.c
--- a/sys/net/if.c      Mon Jun 27 09:06:56 2016 +0000
+++ b/sys/net/if.c      Mon Jun 27 10:09:02 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.c,v 1.346 2016/06/27 08:58:50 knakahara Exp $       */
+/*     $NetBSD: if.c,v 1.347 2016/06/27 10:09:02 knakahara Exp $       */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2008 The NetBSD Foundation, Inc.
@@ -90,7 +90,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.346 2016/06/27 08:58:50 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.347 2016/06/27 10:09:02 knakahara Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_inet.h"
@@ -640,7 +640,7 @@
 
        IF_AFDATA_LOCK_INIT(ifp);
 
-       if (if_is_link_state_chageable(ifp)) {
+       if (if_is_link_state_changeable(ifp)) {
                ifp->if_link_si = softint_establish(SOFTINT_NET,
                    if_link_state_change_si, ifp);
                if (ifp->if_link_si == NULL)
@@ -1195,7 +1195,7 @@
 
        IF_AFDATA_LOCK_DESTROY(ifp);
 
-       if (if_is_link_state_chageable(ifp)) {
+       if (if_is_link_state_changeable(ifp)) {
                softint_disestablish(ifp->if_link_si);
                ifp->if_link_si = NULL;
        }
@@ -1786,7 +1786,7 @@
 {
        int s, idx;
 
-       KASSERTMSG(if_is_link_state_chageable(ifp),
+       KASSERTMSG(if_is_link_state_changeable(ifp),
            "%s: IFEF_NO_LINK_STATE_CHANGE must not be set, but if_extflags=0x%x",
            ifp->if_xname, ifp->if_extflags);
 
diff -r 70945d40ab5f -r ded6596e984d sys/net/if.h
--- a/sys/net/if.h      Mon Jun 27 09:06:56 2016 +0000
+++ b/sys/net/if.h      Mon Jun 27 10:09:02 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.h,v 1.216 2016/06/27 08:58:50 knakahara Exp $       */
+/*     $NetBSD: if.h,v 1.217 2016/06/27 10:09:02 knakahara Exp $       */
 
 /*-
  * Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -431,7 +431,7 @@
 }
 
 static inline bool
-if_is_link_state_chageable(struct ifnet *ifp)
+if_is_link_state_changeable(struct ifnet *ifp)
 {
 
        return ((ifp->if_extflags & IFEF_NO_LINK_STATE_CHANGE) == 0);



Home | Main Index | Thread Index | Old Index