diff options
Diffstat (limited to 'nis')
-rw-r--r-- | nis/libnsl.map | 2 | ||||
-rw-r--r-- | nis/nis_call.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/nis/libnsl.map b/nis/libnsl.map index 49b3754e6d..98404d22c3 100644 --- a/nis/libnsl.map +++ b/nis/libnsl.map @@ -26,7 +26,7 @@ GLIBC_2.0 { # This functions are needed by the NIS+ tools and rpc.nisd, # they should never be used in a normal user program ! __nis_default_access; __nis_default_group; __nis_default_owner; - __nis_default_ttl; __nis_free_fdresult; __nis_finddirectory; + __nis_default_ttl; __free_fdresult; __nis_finddirectory; __nis_hash; readColdStartFile; writeColdStartFile; # Many programs expect this, but every user program should diff --git a/nis/nis_call.c b/nis/nis_call.c index aaefdd22ba..1495271c28 100644 --- a/nis/nis_call.c +++ b/nis/nis_call.c @@ -459,7 +459,7 @@ rec_dirsearch (const_nis_name name, directory_obj *dir, u_long flags, if (fd_res->status != NIS_SUCCESS) { nis_free_directory (dir); - xdr_free((xdrproc_t)xdr_fd_result, (caddr_t)fd_res); + __free_fdresult (fd_res); return NULL; } obj = calloc(1, sizeof(directory_obj)); @@ -511,7 +511,7 @@ rec_dirsearch (const_nis_name name, directory_obj *dir, u_long flags, if (fd_res->status != NIS_SUCCESS) { nis_free_directory (dir); - xdr_free((xdrproc_t)xdr_fd_result, (caddr_t)fd_res); + __free_fdresult (fd_res); return NULL; } obj = calloc(1, sizeof(directory_obj)); |