diff options
| -rw-r--r-- | net/sunrpc/svc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index d72ff44826d8..17e0d7265dfd 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c | |||
| @@ -749,7 +749,7 @@ static int __svc_rpcb_register4(const u32 program, const u32 version, | |||
| 749 | netid = RPCBIND_NETID_TCP; | 749 | netid = RPCBIND_NETID_TCP; |
| 750 | break; | 750 | break; |
| 751 | default: | 751 | default: |
| 752 | return -EPROTONOSUPPORT; | 752 | return -ENOPROTOOPT; |
| 753 | } | 753 | } |
| 754 | 754 | ||
| 755 | return rpcb_v4_register(program, version, | 755 | return rpcb_v4_register(program, version, |
| @@ -785,7 +785,7 @@ static int __svc_rpcb_register6(const u32 program, const u32 version, | |||
| 785 | netid = RPCBIND_NETID_TCP6; | 785 | netid = RPCBIND_NETID_TCP6; |
| 786 | break; | 786 | break; |
| 787 | default: | 787 | default: |
| 788 | return -EPROTONOSUPPORT; | 788 | return -ENOPROTOOPT; |
| 789 | } | 789 | } |
| 790 | 790 | ||
| 791 | return rpcb_v4_register(program, version, | 791 | return rpcb_v4_register(program, version, |
