diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-04-09 15:12:05 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-04-09 15:12:05 +0000 |
| commit | 0d3f37a8043fa635540b44faab649dec10506b99 (patch) | |
| tree | c778dc7b4658e5ebf592c56e1efded2e1b0a985a /sys | |
| parent | e2a685488d668aa908dcec0dee06e8cc00fc1752 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/geom/geom.h | 4 | ||||
| -rw-r--r-- | sys/geom/geom_io.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/geom/geom.h b/sys/geom/geom.h index 7c85d2ba2b16..4c9b3f0664bb 100644 --- a/sys/geom/geom.h +++ b/sys/geom/geom.h @@ -210,9 +210,9 @@ struct bio * g_clone_bio(struct bio *); void g_destroy_bio(struct bio *); void g_io_deliver(struct bio *bp); void g_io_fail(struct bio *bp, int error); -int g_io_getattr(char *attr, struct g_consumer *cp, int *len, void *ptr); +int g_io_getattr(const char *attr, struct g_consumer *cp, int *len, void *ptr); void g_io_request(struct bio *bp, struct g_consumer *cp); -int g_io_setattr(char *attr, struct g_consumer *cp, int len, void *ptr); +int g_io_setattr(const char *attr, struct g_consumer *cp, int len, void *ptr); struct bio *g_new_bio(void); void * g_read_data(struct g_consumer *cp, off_t offset, off_t length, int *error); diff --git a/sys/geom/geom_io.c b/sys/geom/geom_io.c index 99e824d15d51..c3e7bd16f84b 100644 --- a/sys/geom/geom_io.c +++ b/sys/geom/geom_io.c @@ -164,7 +164,7 @@ g_io_init() } int -g_io_setattr(char *attr, struct g_consumer *cp, int len, void *ptr) +g_io_setattr(const char *attr, struct g_consumer *cp, int len, void *ptr) { struct bio *bp; int error; @@ -193,7 +193,7 @@ g_io_setattr(char *attr, struct g_consumer *cp, int len, void *ptr) int -g_io_getattr(char *attr, struct g_consumer *cp, int *len, void *ptr) +g_io_getattr(const char *attr, struct g_consumer *cp, int *len, void *ptr) { struct bio *bp; int error; |
