aboutsummaryrefslogtreecommitdiff
path: root/nis/nis_add.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2011-02-04 10:35:15 -0800
committerRoland McGrath <roland@redhat.com>2011-02-04 10:53:51 -0800
commita0bf67cca2b7de3a745ab5cf0f9d6e74078d57af (patch)
tree83eef0b2a457ba62a716a464dad5cadb6e9dbe09 /nis/nis_add.c
parent091023f58fd6a18caeaa275b7c52048cc70dd3d2 (diff)
downloadglibc-a0bf67cca2b7de3a745ab5cf0f9d6e74078d57af.zip
glibc-a0bf67cca2b7de3a745ab5cf0f9d6e74078d57af.tar.gz
glibc-a0bf67cca2b7de3a745ab5cf0f9d6e74078d57af.tar.bz2
Fix some warning nits.
Diffstat (limited to 'nis/nis_add.c')
-rw-r--r--nis/nis_add.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nis/nis_add.c b/nis/nis_add.c
index f5e783c..a06999b 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);