Source-Changes-HG archive

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

[src/trunk]: src/sys/net Fix typo



details:   https://anonhg.NetBSD.org/src/rev/d07f589d822a
branches:  trunk
changeset: 340790:d07f589d822a
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Fri Oct 02 03:08:26 2015 +0000

description:
Fix typo

diffstat:

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

diffs (18 lines):

diff -r 0889ccedaddf -r d07f589d822a sys/net/if.h
--- a/sys/net/if.h      Thu Oct 01 23:00:12 2015 +0000
+++ b/sys/net/if.h      Fri Oct 02 03:08:26 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.h,v 1.192 2015/09/30 07:12:32 ozaki-r Exp $ */
+/*     $NetBSD: if.h,v 1.193 2015/10/02 03:08:26 ozaki-r Exp $ */
 
 /*-
  * Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -490,7 +490,7 @@
 #define        IF_AFDATA_WLOCK_ASSERT(ifp)     \
        KASSERT(rw_write_held((ifp)->if_afdata_lock))
 #define        IF_AFDATA_UNLOCK_ASSERT(ifp)    \
-       KASSERT(!rw_lock_head((ifp)->if_afdata_lock))
+       KASSERT(!rw_lock_held((ifp)->if_afdata_lock))
 #endif /* GATEWAY */
 
 #define IFQ_LOCK(_ifq)         if ((_ifq)->ifq_lock) mutex_enter((_ifq)->ifq_lock)



Home | Main Index | Thread Index | Old Index