diff options
| author | 1996-04-21 22:14:33 +0000 | |
|---|---|---|
| committer | 1996-04-21 22:14:33 +0000 | |
| commit | d724e01ae4dac35949585b9083e28ff2ba35b0b5 (patch) | |
| tree | 37282f1ae947a4e9508b73ff86cad13f75eb9860 /sys/nfs/nfs_node.c | |
| parent | no need to remove limits.h; another workaround exists (diff) | |
| download | wireguard-openbsd-d724e01ae4dac35949585b9083e28ff2ba35b0b5.tar.xz wireguard-openbsd-d724e01ae4dac35949585b9083e28ff2ba35b0b5.zip | |
partial sync with netbsd 960418, more to come
Diffstat (limited to 'sys/nfs/nfs_node.c')
| -rw-r--r-- | sys/nfs/nfs_node.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/nfs/nfs_node.c b/sys/nfs/nfs_node.c index 15af282b536..86806056906 100644 --- a/sys/nfs/nfs_node.c +++ b/sys/nfs/nfs_node.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_node.c,v 1.5 1996/04/17 04:50:25 mickey Exp $ */ +/* $OpenBSD: nfs_node.c,v 1.6 1996/04/21 22:30:19 deraadt Exp $ */ /* $NetBSD: nfs_node.c,v 1.16 1996/02/18 11:53:42 fvdl Exp $ */ /* @@ -177,8 +177,8 @@ nfs_inactive(v) if (ap->a_vp->v_type != VDIR) sp = np->n_sillyrename; else - sp = NULL; - np->n_sillyrename = NULL; + sp = (struct sillyrename *)0; + np->n_sillyrename = (struct sillyrename *)0; if (sp) { /* * Remove the silly file that was rename'd earlier @@ -244,7 +244,7 @@ nfs_reclaim(v) cache_purge(vp); FREE(vp->v_data, M_NFSNODE); - vp->v_data = NULL; + vp->v_data = (void *)0; return (0); } |
