summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_node.c
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2009-07-20 16:49:41 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2009-07-20 16:49:41 +0000
commit52f523e62db350988c0b548670d158c9b0779f9e (patch)
tree9da85c10fcd79137758990e9757ef4530a2ffaa4 /sys/nfs/nfs_node.c
parentd392a432cf340da23ee3651c237a8cbd7c3ceb99 (diff)
(struct foo *)0 -> NULL, every where I could find it.
OK blambert@
Diffstat (limited to 'sys/nfs/nfs_node.c')
-rw-r--r--sys/nfs/nfs_node.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfs/nfs_node.c b/sys/nfs/nfs_node.c
index 58040d660ad..4557d6f21fe 100644
--- a/sys/nfs/nfs_node.c
+++ b/sys/nfs/nfs_node.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_node.c,v 1.44 2008/12/24 02:43:52 thib Exp $ */
+/* $OpenBSD: nfs_node.c,v 1.45 2009/07/20 16:49:40 thib Exp $ */
/* $NetBSD: nfs_node.c,v 1.16 1996/02/18 11:53:42 fvdl Exp $ */
/*
@@ -167,9 +167,9 @@ nfs_inactive(v)
if (ap->a_vp->v_type != VDIR) {
sp = np->n_sillyrename;
- np->n_sillyrename = (struct sillyrename *)0;
+ np->n_sillyrename = NULL;
} else
- sp = (struct sillyrename *)0;
+ sp = NULL;
if (sp) {
/*
* Remove the silly file that was rename'd earlier