diff options
Diffstat (limited to 'sys/nfs/nfsm_subs.h')
-rw-r--r-- | sys/nfs/nfsm_subs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfs/nfsm_subs.h b/sys/nfs/nfsm_subs.h index 60a12c5536d..44dfe2e0ec2 100644 --- a/sys/nfs/nfsm_subs.h +++ b/sys/nfs/nfsm_subs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: nfsm_subs.h,v 1.38 2009/06/06 00:33:51 thib Exp $ */ +/* $OpenBSD: nfsm_subs.h,v 1.39 2009/07/20 16:49:40 thib Exp $ */ /* $NetBSD: nfsm_subs.h,v 1.10 1996/03/20 21:59:56 fvdl Exp $ */ /* @@ -114,7 +114,7 @@ nfsm_adv(NFSX_V3FATTR); \ } \ if (f) \ - nfsm_loadattr((v), (struct vattr *)0); \ + nfsm_loadattr((v), NULL); \ } #define nfsm_getfh(f, s, v3) { \ @@ -146,7 +146,7 @@ nfsm_dissect(tl, u_int32_t *, NFSX_UNSIGNED); \ if (((f) = fxdr_unsigned(int, *tl)) != 0) { \ if ((t1 = nfs_loadattrcache(&ttvp, &md, &dpos, \ - (struct vattr *)0)) != 0) { \ + NULL)) != 0) { \ error = t1; \ (f) = 0; \ m_freem(mrep); \ |