Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/pmap Don't assign NULL to an integer.



details:   https://anonhg.NetBSD.org/src/rev/cb2ebc2fd75b
branches:  trunk
changeset: 553754:cb2ebc2fd75b
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Tue Oct 21 02:22:21 2003 +0000

description:
Don't assign NULL to an integer.

diffstat:

 usr.bin/pmap/pmap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b766ad8ccd01 -r cb2ebc2fd75b usr.bin/pmap/pmap.c
--- a/usr.bin/pmap/pmap.c       Tue Oct 21 02:20:22 2003 +0000
+++ b/usr.bin/pmap/pmap.c       Tue Oct 21 02:22:21 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.18 2003/07/30 12:11:43 yamt Exp $ */
+/*     $NetBSD: pmap.c,v 1.19 2003/10/21 02:22:21 fvdl Exp $ */
 
 /*
  * Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: pmap.c,v 1.18 2003/07/30 12:11:43 yamt Exp $");
+__RCSID("$NetBSD: pmap.c,v 1.19 2003/10/21 02:22:21 fvdl Exp $");
 #endif
 
 #include <string.h>
@@ -355,7 +355,7 @@
                }
        }
 
-       A(vfs) = NULL;
+       A(vfs) = 0;
 
        if (P(vp) != NULL && D(vp, vnode)->v_mount != NULL) {
                P(vfs) = D(vp, vnode)->v_mount;



Home | Main Index | Thread Index | Old Index