diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-11-12 01:41:05 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-11-12 01:41:05 -0500 |
commit | f3c2577fdc5755c0c70e72df57d4c25b77552bce (patch) | |
tree | 7271474a838b903b5f17d6fda5c96db66879ecd5 | |
parent | 294ce12680bfa52aa7f9f1cb93b2bb5b2d22eaae (diff) | |
download | glibc-f3c2577fdc5755c0c70e72df57d4c25b77552bce.tar glibc-f3c2577fdc5755c0c70e72df57d4c25b77552bce.tar.gz glibc-f3c2577fdc5755c0c70e72df57d4c25b77552bce.tar.bz2 glibc-f3c2577fdc5755c0c70e72df57d4c25b77552bce.zip |
Fix case value used in RPC cod
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | sunrpc/rpc_prot.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,7 @@ 2011-11-12 Ulrich Drepper <drepper@gmail.com> + * sunrpc/rpc_prot.c (rejected): Fix case value. + * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use unsigned long long int to avoid warnings in shift. diff --git a/sunrpc/rpc_prot.c b/sunrpc/rpc_prot.c index b19dff7656..9a23cc1b02 100644 --- a/sunrpc/rpc_prot.c +++ b/sunrpc/rpc_prot.c @@ -214,7 +214,7 @@ rejected (enum reject_stat rjct_stat, { switch (rjct_stat) { - case RPC_VERSMISMATCH: + case RPC_MISMATCH: error->re_status = RPC_VERSMISMATCH; return; case AUTH_ERROR: |