Use the correct cast for the arguments passed to freebsd_shmctl() in

oshmctl().

Submitted by:	kib
This commit is contained in:
jhb 2009-06-25 17:11:27 +00:00
parent a02858661b
commit fb327076f9

View File

@ -936,7 +936,7 @@ oshmctl(struct thread *td, struct oshmctl_args *uap)
goto done2;
break;
default:
error = freebsd7_shmctl(td, (struct shmctl_args *)uap);
error = freebsd7_shmctl(td, (struct freebsd7_shmctl_args *)uap);
break;
}
done2: