diff options
Diffstat (limited to 'sys/geom/geom_io.c')
-rw-r--r-- | sys/geom/geom_io.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/geom/geom_io.c b/sys/geom/geom_io.c index c0eded7..5d1fdc1 100644 --- a/sys/geom/geom_io.c +++ b/sys/geom/geom_io.c @@ -53,6 +53,7 @@ #include <sys/errno.h> #include <geom/geom.h> +#include <geom/geom_int.h> static struct g_bioq g_bio_run_down; static struct g_bioq g_bio_run_up; @@ -163,7 +164,7 @@ g_io_init() } int -g_io_setattr(char *attr, struct g_consumer *cp, int len, void *ptr, struct thread *tp __unused) +g_io_setattr(char *attr, struct g_consumer *cp, int len, void *ptr) { struct bio *bp; int error; @@ -192,7 +193,7 @@ g_io_setattr(char *attr, struct g_consumer *cp, int len, void *ptr, struct threa int -g_io_getattr(char *attr, struct g_consumer *cp, int *len, void *ptr, struct thread *tp __unused) +g_io_getattr(char *attr, struct g_consumer *cp, int *len, void *ptr) { struct bio *bp; int error; |