diff options
author | phk <phk@FreeBSD.org> | 2003-01-28 09:47:50 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-01-28 09:47:50 +0000 |
commit | 188cb3f63b84c60dede3a67475d589c1c0fb59cd (patch) | |
tree | 89dd7d632bec6972a75576e2afe36208ecf9a536 | |
parent | ea90c5e5d4ec75f9243722525b9a86474cc3f4d6 (diff) | |
download | FreeBSD-src-188cb3f63b84c60dede3a67475d589c1c0fb59cd.zip FreeBSD-src-188cb3f63b84c60dede3a67475d589c1c0fb59cd.tar.gz |
Use a void * to carry the private data for return-call'ed ioctl requests.
Amongst other things this avoids a complex workaround in the userland
regression bits.
-rw-r--r-- | sys/geom/geom.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom.h b/sys/geom/geom.h index fbcc7fd..8fc905a 100644 --- a/sys/geom/geom.h +++ b/sys/geom/geom.h @@ -262,7 +262,7 @@ struct g_ioctl { int fflag; struct thread *td; d_ioctl_t *func; - dev_t dev; + void *dev; }; #ifdef _KERNEL |