From b3c20a361d75caf75f670b2fcd64ab8668c16ca5 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 15 Nov 2004 09:47:23 +0000 Subject: Updated to fedora-glibc-20041115T0915 --- nis/ypclnt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nis') 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) -- cgit v1.2.3