Source-Changes-HG archive

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

[src/trunk]: src/sys/sys KDASSERT -> KASSERT. This code is fast and useful.



details:   https://anonhg.NetBSD.org/src/rev/99d64973376e
branches:  trunk
changeset: 829010:99d64973376e
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sun Jan 14 17:16:58 2018 +0000

description:
KDASSERT -> KASSERT. This code is fast and useful.

diffstat:

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

diffs (18 lines):

diff -r 7c34347329c6 -r 99d64973376e sys/sys/mbuf.h
--- a/sys/sys/mbuf.h    Sun Jan 14 16:59:37 2018 +0000
+++ b/sys/sys/mbuf.h    Sun Jan 14 17:16:58 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mbuf.h,v 1.173 2018/01/01 12:09:56 maxv Exp $  */
+/*     $NetBSD: mbuf.h,v 1.174 2018/01/14 17:16:58 maxv Exp $  */
 
 /*-
  * Copyright (c) 1996, 1997, 1999, 2001, 2007 The NetBSD Foundation, Inc.
@@ -492,7 +492,7 @@
 
 #define        MCLINITREFERENCE(m)                                             \
 do {                                                                   \
-       KDASSERT(((m)->m_flags & M_EXT) == 0);                          \
+       KASSERT(((m)->m_flags & M_EXT) == 0);                           \
        (m)->m_ext_ref = (m);                                           \
        (m)->m_ext.ext_refcnt = 1;                                      \
        MCLREFDEBUGO((m), __FILE__, __LINE__);                          \



Home | Main Index | Thread Index | Old Index