diff options
author | dillon <dillon@FreeBSD.org> | 2002-07-11 17:54:58 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2002-07-11 17:54:58 +0000 |
commit | 0b74a2da00ab0a50d30ae736a1eb9cb5c5c5eb11 (patch) | |
tree | 29f0ae4a3379cc4eeac2dc5eafc5eafbb5188b48 /sys/nfsclient/nfs_node.c | |
parent | 9180aabc4ca6e999cde1883d5f2fa501c953cd36 (diff) | |
download | FreeBSD-src-0b74a2da00ab0a50d30ae736a1eb9cb5c5c5eb11.zip FreeBSD-src-0b74a2da00ab0a50d30ae736a1eb9cb5c5c5eb11.tar.gz |
Convert old style (type foo *)0 casts to NULLs
PR: kern/40360
Requested by: Hiten PAndya via direct email
Diffstat (limited to 'sys/nfsclient/nfs_node.c')
-rw-r--r-- | sys/nfsclient/nfs_node.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfsclient/nfs_node.c b/sys/nfsclient/nfs_node.c index d8aa81a..5dc0245 100644 --- a/sys/nfsclient/nfs_node.c +++ b/sys/nfsclient/nfs_node.c @@ -285,9 +285,9 @@ nfs_inactive(struct vop_inactive_args *ap) vprint("nfs_inactive: pushing active", ap->a_vp); 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) { /* * We need a reference to keep the vnode from being @@ -354,6 +354,6 @@ nfs_reclaim(struct vop_reclaim_args *ap) cache_purge(vp); uma_zfree(nfsnode_zone, vp->v_data); - vp->v_data = (void *)0; + vp->v_data = NULL; return (0); } |