summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_io.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-04-09 15:12:05 +0000
committerphk <phk@FreeBSD.org>2002-04-09 15:12:05 +0000
commit6ec0e5c95fae0a2ab252beefb00944fe24ae1a82 (patch)
treec778dc7b4658e5ebf592c56e1efded2e1b0a985a /sys/geom/geom_io.c
parent661e748444dd0c635332a2a89b70c284676dbcf2 (diff)
downloadFreeBSD-src-6ec0e5c95fae0a2ab252beefb00944fe24ae1a82.zip
FreeBSD-src-6ec0e5c95fae0a2ab252beefb00944fe24ae1a82.tar.gz
Constifixation of attribute argument to g_io_[gs]etattr()
Sponsored by: DARPA & NAI Labs
Diffstat (limited to 'sys/geom/geom_io.c')
-rw-r--r--sys/geom/geom_io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/geom/geom_io.c b/sys/geom/geom_io.c
index 99e824d..c3e7bd1 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;
OpenPOWER on IntegriCloud