Fix case value used in RPC cod

This commit is contained in:
Ulrich Drepper 2011-11-12 01:41:05 -05:00
parent 294ce12680
commit f3c2577fdc
2 changed files with 3 additions and 1 deletions

View File

@ -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.

View File

@ -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: