diff options
| author | Gleb Smirnoff <glebius@FreeBSD.org> | 2016-05-18 17:40:53 +0000 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2016-05-18 17:40:53 +0000 |
| commit | fefbf770248c1aa61eeb60b673a3aa7921a916ca (patch) | |
| tree | c8071681ff5c1683aedf50cf9430346c674e6bf3 /sys | |
| parent | ecb92e2d47618ee447cf2e18b9dc9246c5943f50 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/fs/nfsclient/nfs_clvfsops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/nfsclient/nfs_clvfsops.c b/sys/fs/nfsclient/nfs_clvfsops.c index 1441f0384e62..db1ee9dc3700 100644 --- a/sys/fs/nfsclient/nfs_clvfsops.c +++ b/sys/fs/nfsclient/nfs_clvfsops.c @@ -841,7 +841,7 @@ nfs_mount_parse_from(struct vfsoptlist *opts, char **hostnamep, * mount system call * It seems a bit dumb to copyinstr() the host and path here and then * bcopy() them in mountnfs(), but I wanted to detect errors before - * doing the sockargs() call because sockargs() allocates an mbuf and + * doing the getsockaddr() call because getsockaddr() allocates an mbuf and * an error after that means that I have to release the mbuf. */ /* ARGSUSED */ @@ -1228,7 +1228,7 @@ nfs_mount(struct mount *mp) goto out; bzero(&hst[hstlen], MNAMELEN - hstlen); args.hostname = hst; - /* sockargs() call must be after above copyin() calls */ + /* getsockaddr() call must be after above copyin() calls */ error = getsockaddr(&nam, (caddr_t)args.addr, args.addrlen); if (error != 0) @@ -1332,7 +1332,7 @@ out: * mount system call * It seems a bit dumb to copyinstr() the host and path here and then * bcopy() them in mountnfs(), but I wanted to detect errors before - * doing the sockargs() call because sockargs() allocates an mbuf and + * doing the getsockaddr() call because getsockaddr() allocates an mbuf and * an error after that means that I have to release the mbuf. */ /* ARGSUSED */ |
