openbsd-ports/benchmarks/lmbench/patches/patch-src_lat_rpc_c
jasper bd44d3026d - fix patch names, no binary change
- regen one other patch while here
2011-07-08 09:33:25 +00:00

22 lines
761 B
Plaintext

$OpenBSD: patch-src_lat_rpc_c,v 1.1 2011/07/08 09:33:25 jasper Exp $
--- src/lat_rpc.c.orig Sat Nov 11 19:42:42 1995
+++ src/lat_rpc.c Fri Jul 8 11:31:35 2011
@@ -195,7 +195,7 @@ xact_prog_1(rqstp, transp)
return;
}
bzero((char *)&argument, sizeof(argument));
- if (!svc_getargs(transp, xdr_argument, &argument)) {
+ if (!svc_getargs(transp, xdr_argument, (char*) &argument)) {
svcerr_decode(transp);
return;
}
@@ -203,7 +203,7 @@ xact_prog_1(rqstp, transp)
if (result != NULL && !svc_sendreply(transp, xdr_result, result)) {
svcerr_systemerr(transp);
}
- if (!svc_freeargs(transp, xdr_argument, &argument)) {
+ if (!svc_freeargs(transp, xdr_argument, (char*) &argument)) {
fprintf(stderr, "unable to free arguments");
exit(1);
}