Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/tc NULL -> 0



details:   https://anonhg.NetBSD.org/src/rev/bb1425255512
branches:  trunk
changeset: 553985:bb1425255512
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Thu Oct 23 23:52:16 2003 +0000

description:
NULL -> 0

diffstat:

 sys/dev/tc/pxg.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r dd54aa8844d3 -r bb1425255512 sys/dev/tc/pxg.c
--- a/sys/dev/tc/pxg.c  Thu Oct 23 23:28:29 2003 +0000
+++ b/sys/dev/tc/pxg.c  Thu Oct 23 23:52:16 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pxg.c,v 1.15 2003/06/29 22:30:53 fvdl Exp $    */
+/*     $NetBSD: pxg.c,v 1.16 2003/10/23 23:52:16 mycroft Exp $ */
 
 /*-
  * Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pxg.c,v 1.15 2003/06/29 22:30:53 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pxg.c,v 1.16 2003/10/23 23:52:16 mycroft Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -145,7 +145,7 @@
                si = &stic_consinfo;
                console = 1;
        } else {
-               if (stic_consinfo.si_slotbase == NULL)
+               if (stic_consinfo.si_slotbase == 0)
                        si = &stic_consinfo;
                else {
                        si = malloc(sizeof(*si), M_DEVBUF, M_NOWAIT|M_ZERO);



Home | Main Index | Thread Index | Old Index