Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern 0 -> NULL for a pointer
details: https://anonhg.NetBSD.org/src/rev/48caff719879
branches: trunk
changeset: 759836:48caff719879
user: yamt <yamt%NetBSD.org@localhost>
date: Fri Dec 17 22:04:42 2010 +0000
description:
0 -> NULL for a pointer
diffstat:
sys/kern/vfs_subr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4be20f3fc512 -r 48caff719879 sys/kern/vfs_subr.c
--- a/sys/kern/vfs_subr.c Fri Dec 17 22:03:00 2010 +0000
+++ b/sys/kern/vfs_subr.c Fri Dec 17 22:04:42 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_subr.c,v 1.416 2010/11/11 13:58:58 yamt Exp $ */
+/* $NetBSD: vfs_subr.c,v 1.417 2010/12/17 22:04:42 yamt Exp $ */
/*-
* Copyright (c) 1997, 1998, 2004, 2005, 2007, 2008 The NetBSD Foundation, Inc.
@@ -91,7 +91,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_subr.c,v 1.416 2010/11/11 13:58:58 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_subr.c,v 1.417 2010/12/17 22:04:42 yamt Exp $");
#include "opt_ddb.h"
#include "opt_compat_netbsd.h"
@@ -637,7 +637,7 @@
vp->v_op = vops;
insmntque(vp, mp);
*vpp = vp;
- vp->v_data = 0;
+ vp->v_data = NULL;
/*
* initialize uvm_object within vnode.
Home |
Main Index |
Thread Index |
Old Index