diff options
Diffstat (limited to 'src/libsunrpc')
-rw-r--r-- | src/libsunrpc/client.c | 3 | ||||
-rw-r--r-- | src/libsunrpc/prog.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/libsunrpc/client.c b/src/libsunrpc/client.c index dbcf7b21..692ab591 100644 --- a/src/libsunrpc/client.c +++ b/src/libsunrpc/client.c @@ -156,7 +156,6 @@ rpcMuxThread(void *v) Out *o, **out; SunRpc rpc; SunClient *cli; - SunStatus ok; cli = v; mout = 16; @@ -263,7 +262,7 @@ if(cli->chatty) fprint(2, "resend %lux %lud %lud\n", o->xid, t, o->t); n = (p[0]<<24)|(p[1]<<16)|(p[2]<<8)|p[3]; p += 4; ep = p+n; - if((ok = sunrpcunpack(p, ep, &p, &rpc)) != SunSuccess){ + if(sunrpcunpack(p, ep, &p, &rpc) != SunSuccess){ fprint(2, "%s: in: %.*H unpack failed\n", argv0, n, buf+4); free(buf); break; diff --git a/src/libsunrpc/prog.c b/src/libsunrpc/prog.c index 914d61fc..5258e3e9 100644 --- a/src/libsunrpc/prog.c +++ b/src/libsunrpc/prog.c @@ -29,7 +29,7 @@ suncallunpack(SunProg *prog, uchar *a, uchar *ea, uchar **pa, SunCall *c) if(c->type < 0 || c->type >= prog->nproc || (unpack=prog->proc[c->type].unpack) == nil) return SunProcUnavail; if((*unpack)(a, ea, pa, c) < 0){ - fprint(2, "%lud %d: '%.*H' unpack failed\n", prog->prog, c->type, (int)(ea-a), a); + fprint(2, "%ud %d: '%.*H' unpack failed\n", prog->prog, c->type, (int)(ea-a), a); return SunGarbageArgs; } return SunSuccess; |