Source-Changes-HG archive

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

[src/pgoyette-localcount]: src/sys/kern Fix typo in KASSERTMSG macro name



details:   https://anonhg.NetBSD.org/src/rev/d0035ca734ac
branches:  pgoyette-localcount
changeset: 852807:d0035ca734ac
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sun Jul 17 21:40:47 2016 +0000

description:
Fix typo in KASSERTMSG macro name

diffstat:

 sys/kern/subr_devsw.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4521b47237fd -r d0035ca734ac sys/kern/subr_devsw.c
--- a/sys/kern/subr_devsw.c     Sun Jul 17 21:39:17 2016 +0000
+++ b/sys/kern/subr_devsw.c     Sun Jul 17 21:40:47 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_devsw.c,v 1.34.2.6 2016/07/17 21:39:17 pgoyette Exp $     */
+/*     $NetBSD: subr_devsw.c,v 1.34.2.7 2016/07/17 21:40:47 pgoyette Exp $     */
 
 /*-
  * Copyright (c) 2001, 2002, 2007, 2008 The NetBSD Foundation, Inc.
@@ -69,7 +69,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_devsw.c,v 1.34.2.6 2016/07/17 21:39:17 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_devsw.c,v 1.34.2.7 2016/07/17 21:40:47 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_dtrace.h"
@@ -157,7 +157,7 @@
                    __func__, devname);
        }
        if (cdev != NULL)
-               KASSERTMGS(cdev->d_localcount != NULL,
+               KASSERTMSG(cdev->d_localcount != NULL,
                    "%s: cdev %s has no d_localcount", __func__, devname);
 
        for (i = 0 ; i < max_devsw_convs ; i++) {



Home | Main Index | Thread Index | Old Index