summaryrefslogtreecommitdiffstats
path: root/utils/mount/network.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2009-01-06 12:12:55 -0500
committerSteve Dickson <steved@redhat.com>2009-01-06 12:12:55 -0500
commit18e84356811587a9cc405c4c6e18ca5573940e35 (patch)
tree0bc49250d42d5cfd859b985b3d1f7983e8f8fea3 /utils/mount/network.c
parente9dbcba18defacbee9b5a48ddea9f6d3449b34e9 (diff)
downloadnfs-utils-18e84356811587a9cc405c4c6e18ca5573940e35.tar.gz
nfs-utils-18e84356811587a9cc405c4c6e18ca5573940e35.tar.xz
nfs-utils-18e84356811587a9cc405c4c6e18ca5573940e35.zip
mount command: Random clean up
Fix some documenting comments and an error message in configure.ac. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/mount/network.c')
-rw-r--r--utils/mount/network.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/mount/network.c b/utils/mount/network.c
index a82c338..d262e94 100644
--- a/utils/mount/network.c
+++ b/utils/mount/network.c
@@ -161,6 +161,7 @@ static void nfs_set_port(struct sockaddr *sap, const unsigned short port)
/**
* nfs_name_to_address - resolve hostname to an IPv4 or IPv6 socket address
* @hostname: pointer to C string containing DNS hostname to resolve
+ * @af_hint: hint to restrict resolution to one address family
* @sap: pointer to buffer to fill with socket address
* @len: IN: size of buffer to fill; OUT: size of socket address
*
@@ -270,7 +271,7 @@ int nfs_name_to_address(const char *hostname,
/**
* nfs_gethostbyname - resolve a hostname to an IPv4 address
* @hostname: pointer to a C string containing a DNS hostname
- * @saddr: returns an IPv4 address
+ * @sin: returns an IPv4 address
*
* Returns 1 if successful, otherwise zero.
*/