The cmd' and addr' args to psmioctl() were in the wrong order. This

probably broke MOUSEIOCREAD which is the only ioctl supported.
This commit is contained in:
bde 1995-09-05 06:23:39 +00:00
parent 0ba2ce040d
commit 1946a609dc

View File

@ -355,7 +355,7 @@ int psmread(dev_t dev, struct uio *uio, int flag)
return(error);
}
int psmioctl(dev_t dev, caddr_t addr, int cmd, int flag, struct proc *p)
int psmioctl(dev_t dev, int cmd, caddr_t addr, int flag, struct proc *p)
{
struct psm_softc *sc;
struct mouseinfo info;