nfs_set_auth() is a void and does not return anything
[deb_libnfs.git] / 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)