diff options
Diffstat (limited to 'nis/nis_add.c')
-rw-r--r-- | nis/nis_add.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nis/nis_add.c b/nis/nis_add.c index f5e783cc2f..a06999b4e8 100644 --- a/nis/nis_add.c +++ b/nis/nis_add.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1997, 1998, 2004 Free Software Foundation, Inc. +/* Copyright (C) 1997,1998,2004,2011 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Thorsten Kukuk <kukuk@uni-paderborn.de>, 1997. @@ -65,7 +65,7 @@ nis_add (const_nis_name name, const nis_object *obj2) NIS_ADD, (xdrproc_t) _xdr_ns_request, (caddr_t) &req, (xdrproc_t) _xdr_nis_result, (caddr_t) res, MASTER_ONLY, NULL); - if (status != RPC_SUCCESS) + if (status != NIS_SUCCESS) NIS_RES_STATUS (res) = status; nis_destroy_object (req.ns_object.ns_object_val); |