From a0bf67cca2b7de3a745ab5cf0f9d6e74078d57af Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 4 Feb 2011 10:35:15 -0800 Subject: Fix some warning nits. --- nis/nis_add.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nis/nis_add.c') 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 , 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); -- cgit v1.2.3