summaryrefslogtreecommitdiffstats
path: root/tools/regression/geom/geom_simdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/geom/geom_simdev.c')
-rw-r--r--tools/regression/geom/geom_simdev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/regression/geom/geom_simdev.c b/tools/regression/geom/geom_simdev.c
index 2b51806..4221742 100644
--- a/tools/regression/geom/geom_simdev.c
+++ b/tools/regression/geom/geom_simdev.c
@@ -97,7 +97,7 @@ static struct g_class dev_class = {
};
static struct g_geom *
-g_dev_findg(char *name)
+g_dev_findg(const char *name)
{
struct g_geom *gp;
@@ -116,7 +116,7 @@ g_dev_init(void *junk __unused)
struct g_consumer *
-g_dev_opendev(char *name, int r, int w, int e)
+g_dev_opendev(const char *name, int r, int w, int e)
{
struct g_geom *gp;
struct g_consumer *cp;
@@ -146,7 +146,7 @@ g_dev_done(struct bio *bp)
}
int
-g_dev_request(char *name, struct bio *bp)
+g_dev_request(const char *name, struct bio *bp)
{
struct g_geom *gp;
OpenPOWER on IntegriCloud