mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
o Remove premature use of nmp->nm_cred, it hasn't been initialized yet.
This commit is contained in:
parent
f67efa37d6
commit
0e97c01d6d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue