Cast argument to avoid warning.
Reviewed by: Nick Hibma <n_hibma>
This commit is contained in:
parent
f65b39828c
commit
037e944431
@ -835,7 +835,7 @@ ugenioctl(dev, cmd, addr, flag, p)
|
|||||||
uio.uio_segflg = UIO_USERSPACE;
|
uio.uio_segflg = UIO_USERSPACE;
|
||||||
uio.uio_rw = UIO_READ;
|
uio.uio_rw = UIO_READ;
|
||||||
uio.uio_procp = p;
|
uio.uio_procp = p;
|
||||||
error = uiomove(cdesc, len, &uio);
|
error = uiomove((caddr_t)cdesc, len, &uio);
|
||||||
free(cdesc, M_TEMP);
|
free(cdesc, M_TEMP);
|
||||||
return (error);
|
return (error);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user