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/nfsclient/nfs_vfsops.c | |
parent | 148bdd15d5cb3873e94e61b2678ce2ad208e3a93 (diff) | |
download | src-test2-2be111bf7dda0f18d645f0e201b6555bbe3da1ac.tar.gz src-test2-2be111bf7dda0f18d645f0e201b6555bbe3da1ac.zip |
Notes
Diffstat (limited to 'sys/nfsclient/nfs_vfsops.c')
-rw-r--r-- | sys/nfsclient/nfs_vfsops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c index cf63c5ef3eed..0c002d2e78b1 100644 --- a/sys/nfsclient/nfs_vfsops.c +++ b/sys/nfsclient/nfs_vfsops.c @@ -485,7 +485,7 @@ nfs_mountroot(struct mount *mp) 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); |