diff options
author | Roland McGrath <roland@redhat.com> | 2011-02-04 10:35:15 -0800 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2011-02-04 10:53:51 -0800 |
commit | a0bf67cca2b7de3a745ab5cf0f9d6e74078d57af (patch) | |
tree | 83eef0b2a457ba62a716a464dad5cadb6e9dbe09 /nis/nis_server.c | |
parent | 091023f58fd6a18caeaa275b7c52048cc70dd3d2 (diff) | |
download | glibc-a0bf67cca2b7de3a745ab5cf0f9d6e74078d57af.tar.gz glibc-a0bf67cca2b7de3a745ab5cf0f9d6e74078d57af.tar.xz glibc-a0bf67cca2b7de3a745ab5cf0f9d6e74078d57af.zip |
Fix some warning nits.
Diffstat (limited to 'nis/nis_server.c')
-rw-r--r-- | nis/nis_server.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nis/nis_server.c b/nis/nis_server.c index c11f4b0328..718d7de239 100644 --- a/nis/nis_server.c +++ b/nis/nis_server.c @@ -1,4 +1,4 @@ -/* Copyright (c) 1997, 1998 Free Software Foundation, Inc. +/* Copyright (c) 1997,1998,2011 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1997. @@ -41,7 +41,7 @@ nis_servstate (const nis_server *serv, const nis_tag *tags, if (__do_niscall2 (serv, 1, NIS_SERVSTATE, (xdrproc_t) _xdr_nis_taglist, (caddr_t) &taglist, (xdrproc_t) _xdr_nis_taglist, - (caddr_t) &tagres, 0, NULL) != RPC_SUCCESS) + (caddr_t) &tagres, 0, NULL) != NIS_SUCCESS) return NIS_RPCERROR; *result = tagres.tags.tags_val; @@ -67,7 +67,7 @@ nis_stats (const nis_server *serv, const nis_tag *tags, if (__do_niscall2 (serv, 1, NIS_STATUS, (xdrproc_t) _xdr_nis_taglist, (caddr_t) &taglist, (xdrproc_t) _xdr_nis_taglist, - (caddr_t) &tagres, 0, NULL) != RPC_SUCCESS) + (caddr_t) &tagres, 0, NULL) != NIS_SUCCESS) return NIS_RPCERROR; *result = tagres.tags.tags_val; |