Fixed spelling of s_namlen so that this compiles again.
This commit is contained in:
parent
bf124e256b
commit
ad59a83d3e
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user