diff options
Diffstat (limited to 'net/sunrpc/svc.c')
-rw-r--r-- | net/sunrpc/svc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index b4db53ff1435..b7503c103ae8 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c | |||
@@ -757,7 +757,7 @@ svc_register(struct svc_serv *serv, int proto, unsigned short port) | |||
757 | if (progp->pg_vers[i]->vs_hidden) | 757 | if (progp->pg_vers[i]->vs_hidden) |
758 | continue; | 758 | continue; |
759 | 759 | ||
760 | error = rpc_register(progp->pg_prog, i, proto, port, &dummy); | 760 | error = rpcb_register(progp->pg_prog, i, proto, port, &dummy); |
761 | if (error < 0) | 761 | if (error < 0) |
762 | break; | 762 | break; |
763 | if (port && !dummy) { | 763 | if (port && !dummy) { |