aboutsummaryrefslogtreecommitdiff
path: root/sys/geom/geom.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/geom/geom.h')
-rw-r--r--sys/geom/geom.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/geom/geom.h b/sys/geom/geom.h
index ad63e4b84f4e..fa34bdad3846 100644
--- a/sys/geom/geom.h
+++ b/sys/geom/geom.h
@@ -302,7 +302,14 @@ extern struct sx topology_lock;
#endif /* _KERNEL */
-#define GEOMGETCONF _IOWR('G', 0, struct sbuf)
+/*
+ * IOCTLS for talking to the geom.ctl device.
+ */
+struct geomgetconf {
+ char *ptr;
+ u_int len;
+};
+#define GEOMGETCONF _IOW('G', 0, struct geomgetconf)
/* geom_enc.c */
uint16_t g_dec_be2(u_char *p);