aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-11-12 01:41:05 -0500
committerUlrich Drepper <drepper@gmail.com>2011-11-12 01:41:05 -0500
commitf3c2577fdc5755c0c70e72df57d4c25b77552bce (patch)
tree7271474a838b903b5f17d6fda5c96db66879ecd5
parent294ce12680bfa52aa7f9f1cb93b2bb5b2d22eaae (diff)
downloadglibc-f3c2577fdc5755c0c70e72df57d4c25b77552bce.tar
glibc-f3c2577fdc5755c0c70e72df57d4c25b77552bce.tar.gz
glibc-f3c2577fdc5755c0c70e72df57d4c25b77552bce.tar.bz2
glibc-f3c2577fdc5755c0c70e72df57d4c25b77552bce.zip
Fix case value used in RPC cod
-rw-r--r--ChangeLog2
-rw-r--r--sunrpc/rpc_prot.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index aa29e14e13..4cbffb946d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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: