diff options
author | Davide Italiano <davide@FreeBSD.org> | 2014-10-16 18:04:43 +0000 |
---|---|---|
committer | Davide Italiano <davide@FreeBSD.org> | 2014-10-16 18:04:43 +0000 |
commit | 2be111bf7dda0f18d645f0e201b6555bbe3da1ac (patch) | |
tree | f232fa8c3b1009450da57b71fb0323893520f81c /sys/fs/nfsclient/nfs_clvfsops.c | |
parent | 148bdd15d5cb3873e94e61b2678ce2ad208e3a93 (diff) |
Notes
Diffstat (limited to 'sys/fs/nfsclient/nfs_clvfsops.c')
-rw-r--r-- | sys/fs/nfsclient/nfs_clvfsops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/nfsclient/nfs_clvfsops.c b/sys/fs/nfsclient/nfs_clvfsops.c index 6b0935618876..49047f69a612 100644 --- a/sys/fs/nfsclient/nfs_clvfsops.c +++ b/sys/fs/nfsclient/nfs_clvfsops.c @@ -442,7 +442,7 @@ nfs_mountroot(struct mount *mp) error = ifioctl(so, SIOCAIFADDR, (caddr_t)&nd->myif, td); if (error) panic("nfs_mountroot: SIOCAIFADDR: %d", error); - if ((cp = getenv("boot.netif.mtu")) != NULL) { + if ((cp = kern_getenv("boot.netif.mtu")) != NULL) { ir.ifr_mtu = strtol(cp, NULL, 10); bcopy(nd->myif.ifra_name, ir.ifr_name, IFNAMSIZ); freeenv(cp); |