diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-11-12 19:06:21 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-11-12 19:06:21 +0000 |
commit | a45e13bd3ef3532cebd69ed23bb0eecfcacaf7ad (patch) | |
tree | 270bcf7e261a4027ff0b39e823e4f1e5806271a5 /nis/ypclnt.c | |
parent | 7db612081aa9c2d0b7e6205582a80aa2e9342f8f (diff) | |
download | glibc-a45e13bd3ef3532cebd69ed23bb0eecfcacaf7ad.zip glibc-a45e13bd3ef3532cebd69ed23bb0eecfcacaf7ad.tar.gz glibc-a45e13bd3ef3532cebd69ed23bb0eecfcacaf7ad.tar.bz2 |
Update.
2004-11-12 Andreas Schwab <schwab@suse.de>
* nis/ypclnt.c (ypprot_err): Fix "minor optimizations".
Diffstat (limited to 'nis/ypclnt.c')
-rw-r--r-- | nis/ypclnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nis/ypclnt.c b/nis/ypclnt.c index 65b9c55..5ad78ed 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) |