about summary refs log tree commit diff
path: root/nis/nis_modify.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_modify.c
parent091023f58fd6a18caeaa275b7c52048cc70dd3d2 (diff)
downloadglibc-a0bf67cca2b7de3a745ab5cf0f9d6e74078d57af.tar.gz
glibc-a0bf67cca2b7de3a745ab5cf0f9d6e74078d57af.tar.xz
glibc-a0bf67cca2b7de3a745ab5cf0f9d6e74078d57af.zip
Fix some warning nits.
Diffstat (limited to 'nis/nis_modify.c')
-rw-r--r--nis/nis_modify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nis/nis_modify.c b/nis/nis_modify.c
index 0ec0ec6f42..68609fafea 100644
--- a/nis/nis_modify.c
+++ b/nis/nis_modify.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_modify (const_nis_name name, const nis_object *obj2)
 			 (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);