]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
mount command: Random clean up
authorChuck Lever <chuck.lever@oracle.com>
Tue, 6 Jan 2009 17:12:55 +0000 (12:12 -0500)
committerSteve Dickson <steved@redhat.com>
Tue, 6 Jan 2009 17:12:55 +0000 (12:12 -0500)
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>
configure.ac
utils/mount/network.c

index 1b83296d6e15f4d591a7ff89326068dfd44c86f3..48061e4f55d709a6f4c29b5fbf40f2e0aead0a51 100644 (file)
@@ -259,7 +259,7 @@ if test "$enable_ipv6" = yes; then
   AC_CHECK_LIB(tirpc, clnt_tli_create, ,
                AC_MSG_ERROR([libtirpc needed for IPv6 support]))
   AC_CHECK_HEADERS(tirpc/netconfig.h, ,
-               AC_MSG_ERROR([libtirpc-devel needed for IPv6 support]))
+               AC_MSG_ERROR([libtirpc headers needed for IPv6 support]))
   AC_CHECK_DECL([AI_ADDRCONFIG], ,
                AC_MSG_ERROR([full getaddrinfo(3) implementation needed for IPv6 support]),
                [ #include <netdb.h> ] )
index a82c338a2cb06eb801e35110b211c02b184fef7b..d262e940091e195449d9d0aea05473a556c2b9fe 100644 (file)
@@ -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.
  */