nfs_set_auth() is a void and does not return anything
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 28 Aug 2011 09:25:20 +0000 (19:25 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 28 Aug 2011 09:26:07 +0000 (19:26 +1000)
lib/libnfs.c

index edaeca4df06fb3afdc6ecbc090494fe807663521..52709237c237e56400f7732d4d6d3ffd2708e2b3 100644 (file)
@@ -107,7 +107,7 @@ static int nfs_lookup_path_async_internal(struct nfs_context *nfs, struct nfs_cb
 
 void nfs_set_auth(struct nfs_context *nfs, struct AUTH *auth)
 {
-       return rpc_set_auth(nfs->rpc, auth);
+       rpc_set_auth(nfs->rpc, auth);
 }
 
 int nfs_get_fd(struct nfs_context *nfs)