about summary refs log tree commit diff
path: root/nis/nis_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'nis/nis_cache.c')
-rw-r--r--nis/nis_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nis/nis_cache.c b/nis/nis_cache.c
index 4c0ea7b186..e10b8c07fd 100644
--- a/nis/nis_cache.c
+++ b/nis/nis_cache.c
@@ -143,7 +143,7 @@ __cache_refresh (nis_name name)
   if (cache_clnt == NULL)
     result = NIS_FAIL;
   else if (clnt_call (cache_clnt, NIS_CACHE_REFRESH_ENTRY,
-		      (xdrproc_t) xdr_wrapstring, (caddr_t) name,
+		      (xdrproc_t) xdr_wrapstring, (caddr_t) &name,
 		      (xdrproc_t) xdr_void, &clnt_res, TIMEOUT)
 	   != RPC_SUCCESS)
     {