Fixed spelling of s_namlen so that this compiles again.

This commit is contained in:
Bruce Evans 1996-01-25 00:45:37 +00:00
parent bf124e256b
commit ad59a83d3e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13625
2 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_vnops.c 8.5 (Berkeley) 2/13/94
* $Id: nfs_vnops.c,v 1.31 1995/12/07 12:47:29 davidg Exp $
* $Id: nfs_vnops.c,v 1.32 1996/01/24 21:11:26 phk Exp $
*/
/*
@ -2480,7 +2480,7 @@ nfs_sillyrename(dvp, vp, cnp)
/* Fudge together a funny name */
pid = cnp->cn_proc->p_pid;
sp->s_namelen = sprintf(sp->s_name, ".nfsA%04x4.4", pid);
sp->s_namlen = sprintf(sp->s_name, ".nfsA%04x4.4", pid);
/* Try lookitups until we get one that isn't there */
while (nfs_lookitup(dvp, sp->s_name, sp->s_namlen, sp->s_cred,

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_vnops.c 8.5 (Berkeley) 2/13/94
* $Id: nfs_vnops.c,v 1.31 1995/12/07 12:47:29 davidg Exp $
* $Id: nfs_vnops.c,v 1.32 1996/01/24 21:11:26 phk Exp $
*/
/*
@ -2480,7 +2480,7 @@ nfs_sillyrename(dvp, vp, cnp)
/* Fudge together a funny name */
pid = cnp->cn_proc->p_pid;
sp->s_namelen = sprintf(sp->s_name, ".nfsA%04x4.4", pid);
sp->s_namlen = sprintf(sp->s_name, ".nfsA%04x4.4", pid);
/* Try lookitups until we get one that isn't there */
while (nfs_lookitup(dvp, sp->s_name, sp->s_namlen, sp->s_cred,