summary refs log tree commit diff
path: root/nis
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2004-11-15 09:47:23 +0000
committerJakub Jelinek <jakub@redhat.com>2004-11-15 09:47:23 +0000
commitb3c20a361d75caf75f670b2fcd64ab8668c16ca5 (patch)
treecac006e13628dcbf5a48cb618417ae708906db89 /nis
parent87ffc9aca119436c8530d6605483a49cfb16668e (diff)
downloadglibc-b3c20a361d75caf75f670b2fcd64ab8668c16ca5.tar.gz
glibc-b3c20a361d75caf75f670b2fcd64ab8668c16ca5.tar.xz
glibc-b3c20a361d75caf75f670b2fcd64ab8668c16ca5.zip
Updated to fedora-glibc-20041115T0915
Diffstat (limited to 'nis')
-rw-r--r--nis/ypclnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nis/ypclnt.c b/nis/ypclnt.c
index 65b9c55467..5ad78eda00 100644
--- a/nis/ypclnt.c
+++ b/nis/ypclnt.c
@@ -846,7 +846,7 @@ ypprot_err (const int code)
 {
   if (code < YP_VERS || code > YP_NOKEY)
     return YPERR_YPERR;
-  return yp_2_yperr[code];
+  return yp_2_yperr[code - YP_VERS];
 }
 libnsl_hidden_def (ypprot_err)