diff options
Diffstat (limited to 'sys/nfs/nfs_serv.c')
-rw-r--r-- | sys/nfs/nfs_serv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfs/nfs_serv.c b/sys/nfs/nfs_serv.c index 77d1ad54cf4..698924bc86e 100644 --- a/sys/nfs/nfs_serv.c +++ b/sys/nfs/nfs_serv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_serv.c,v 1.54 2008/06/13 03:49:26 blambert Exp $ */ +/* $OpenBSD: nfs_serv.c,v 1.55 2008/06/14 00:26:13 thib Exp $ */ /* $NetBSD: nfs_serv.c,v 1.34 1997/05/12 23:37:12 fvdl Exp $ */ /* @@ -2499,7 +2499,7 @@ again: while (cpos < cend && ncookies > 0) { if (dp->d_fileno != 0) { nlen = dp->d_namlen; - pad = nfsm_rndup(nlen) - nlen; + pad = nfsm_padlen(nlen); len += (4 * NFSX_UNSIGNED + nlen + pad); if (v3) len += 2 * NFSX_UNSIGNED; @@ -2718,7 +2718,7 @@ again: while (cpos < cend && ncookies > 0) { if (dp->d_fileno != 0) { nlen = dp->d_namlen; - pad = nfsm_rndup(nlen) - nlen; + pad = nfsm_padlen(nlen); /* * For readdir_and_lookup get the vnode using |