Module Name:    src
Committed By:   ozaki-r
Date:           Fri Oct  2 03:08:26 UTC 2015

Modified Files:
        src/sys/net: if.h

Log Message:
Fix typo


To generate a diff of this commit:
cvs rdiff -u -r1.192 -r1.193 src/sys/net/if.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/net/if.h
diff -u src/sys/net/if.h:1.192 src/sys/net/if.h:1.193
--- src/sys/net/if.h:1.192	Wed Sep 30 07:12:32 2015
+++ src/sys/net/if.h	Fri Oct  2 03:08:26 2015
@@ -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 @@ typedef struct ifnet {
 #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)

Reply via email to