if (i > req->oldlen - req->oldidx)
i = req->oldlen - req->oldidx;
if (i > 0) {
- error = copyout(p, (char *)req->oldptr + req->oldidx, i);
+ error = copyout((void*)p, (char *)req->oldptr + req->oldidx, i);
if (error)
return error;
}
if (i > req->oldlen - req->oldidx)
i = req->oldlen - req->oldidx;
if (i > 0)
- error = copyout(p, (char *)req->oldptr + req->oldidx,
+ error = copyout((void*)p, (char *)req->oldptr + req->oldidx,
i);
}
req->oldidx += l;