aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: