summaryrefslogtreecommitdiff
path: root/sys/nfsclient/nfs_vfsops.c
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2007-01-30 00:26:04 +0000
committerKris Kennaway <kris@FreeBSD.org>2007-01-30 00:26:04 +0000
commit410355bf69202ec79751a036a71072d8f5c1f58c (patch)
treeb784181e3e99ea8df0bd9888544e1ad2fdeee3ef /sys/nfsclient/nfs_vfsops.c
parent51ca5b218290670c72b882d99722bdebce1aedab (diff)
Notes
Diffstat (limited to 'sys/nfsclient/nfs_vfsops.c')
-rw-r--r--sys/nfsclient/nfs_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c
index e1055eab2eeb..aa9d9bb3d064 100644
--- a/sys/nfsclient/nfs_vfsops.c
+++ b/sys/nfsclient/nfs_vfsops.c
@@ -430,7 +430,7 @@ nfs_mountroot(struct mount *mp, struct thread *td)
* Do enough of ifconfig(8) so that the critical net interface can
* talk to the server.
*/
- error = socreate(nd->myif.ifra_addr.sa_family, &so, SOCK_DGRAM, 0,
+ error = socreate(nd->myif.ifra_addr.sa_family, &so, nd->root_args.sotype, 0,
td->td_ucred, td);
if (error)
panic("nfs_mountroot: socreate(%04x): %d",