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:
Bruce Evans 1995-09-05 06:23:39 +00:00
parent 193e7834a5
commit 08ab924c0d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=10559

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;