more compile fixes
authorIon Badulescu <ib42@cs.columbia.edu>
Sun, 13 Jul 2003 17:41:54 +0000 (17:41 +0000)
committerIon Badulescu <ib42@cs.columbia.edu>
Sun, 13 Jul 2003 17:41:54 +0000 (17:41 +0000)
conf/transp/transp_tli.c

index 3dd37a8a59c3adc0e5423c5e9a0ce4a04aff990a..056f8727bbb1c68c3c631fa605284bd2c355aa52 100644 (file)
@@ -37,7 +37,7 @@
  * SUCH DAMAGE.
  *
  *
- * $Id: transp_tli.c,v 1.16 2003/07/13 17:40:46 ib42 Exp $
+ * $Id: transp_tli.c,v 1.17 2003/07/13 17:41:54 ib42 Exp $
  *
  * TLI specific utilities.
  *      -Erez Zadok <ezk@cs.columbia.edu>
@@ -623,9 +623,9 @@ get_nfs_version(char *host, struct sockaddr_in *sin, u_long nfs_version, const c
   tv.tv_usec = 0;
 
 #ifdef HAVE_CLNT_CREATE_VERS_TIMED
-  clnt = clnt_create_vers_timed(host, NFS_PROGRAM, versout, NFS_VERSION, nfs_version, proto, &tv);
+  clnt = clnt_create_vers_timed(host, NFS_PROGRAM, &versout, NFS_VERSION, nfs_version, proto, &tv);
 #else /* not HAVE_CLNT_CREATE_VERS_TIMED */
-  clnt = clnt_create_vers_timed(host, NFS_PROGRAM, versout, NFS_VERSION, nfs_version, proto);
+  clnt = clnt_create_vers_timed(host, NFS_PROGRAM, &versout, NFS_VERSION, nfs_version, proto);
 #endif /* not HAVE_CLNT_CREATE_VERS_TIMED */
 
   if (clnt == NULL) {