diff options
| author | Alan Cox <alc@FreeBSD.org> | 2002-01-01 19:44:01 +0000 |
|---|---|---|
| committer | Alan Cox <alc@FreeBSD.org> | 2002-01-01 19:44:01 +0000 |
| commit | 62d69898f9b99cf864efa9371abcc4da3b84ee57 (patch) | |
| tree | a8d379ef5834f3935ca95a1e93b45ec18f62c719 /sys/nfsclient | |
| parent | ad25c55e52431f6fa4be763e1bb49b5aedc3a8bf (diff) | |
o Remove an errant ';' introduced in the last revision.
o Remove an unused variable.
Notes
svn path=/head/; revision=88777
Diffstat (limited to 'sys/nfsclient')
| -rw-r--r-- | sys/nfsclient/nfs_vfsops.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c index a297bcccdf4a..1cd6275b8f47 100644 --- a/sys/nfsclient/nfs_vfsops.c +++ b/sys/nfsclient/nfs_vfsops.c @@ -378,7 +378,6 @@ int nfs_mountroot(struct mount *mp, struct thread *td) { struct mount *swap_mp; - struct nfsmount *nmp = VFSTONFS(mp); struct nfsv3_diskless *nd = &nfsv3_diskless; struct socket *so; struct vnode *vp; @@ -421,7 +420,7 @@ nfs_mountroot(struct mount *mp, struct thread *td) * talk to the server. */ error = socreate(nd->myif.ifra_addr.sa_family, &so, SOCK_DGRAM, 0, - td->td_proc->p_ucred;, td); + td->td_proc->p_ucred, td); if (error) panic("nfs_mountroot: socreate(%04x): %d", nd->myif.ifra_addr.sa_family, error); |
