mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
o Remove premature use of nmp->nm_cred, it hasn't been initialized yet.
This commit is contained in:
parent
f67efa37d6
commit
0e97c01d6d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=88770
@ -421,7 +421,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,
|
||||
nmp->nm_cred, td);
|
||||
td->td_proc->p_ucred;, td);
|
||||
if (error)
|
||||
panic("nfs_mountroot: socreate(%04x): %d",
|
||||
nd->myif.ifra_addr.sa_family, error);
|
||||
|
Loading…
Reference in New Issue
Block a user