Use the correct cast for the arguments passed to freebsd_shmctl() in
oshmctl(). Submitted by: kib
This commit is contained in:
parent
a02858661b
commit
fb327076f9
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user