summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-01-28 09:47:50 +0000
committerphk <phk@FreeBSD.org>2003-01-28 09:47:50 +0000
commit188cb3f63b84c60dede3a67475d589c1c0fb59cd (patch)
tree89dd7d632bec6972a75576e2afe36208ecf9a536
parentea90c5e5d4ec75f9243722525b9a86474cc3f4d6 (diff)
downloadFreeBSD-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.h2
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
OpenPOWER on IntegriCloud