|
@@ -251,7 +251,7 @@ static int rpcb_create_local_unix(struct net *net)
|
|
|
if (IS_ERR(clnt)) {
|
|
|
dprintk("RPC: failed to create AF_LOCAL rpcbind "
|
|
|
"client (errno %ld).\n", PTR_ERR(clnt));
|
|
|
- result = -PTR_ERR(clnt);
|
|
|
+ result = PTR_ERR(clnt);
|
|
|
goto out;
|
|
|
}
|
|
|
|
|
@@ -298,7 +298,7 @@ static int rpcb_create_local_net(struct net *net)
|
|
|
if (IS_ERR(clnt)) {
|
|
|
dprintk("RPC: failed to create local rpcbind "
|
|
|
"client (errno %ld).\n", PTR_ERR(clnt));
|
|
|
- result = -PTR_ERR(clnt);
|
|
|
+ result = PTR_ERR(clnt);
|
|
|
goto out;
|
|
|
}
|
|
|
|