summaryrefslogtreecommitdiffstats
path: root/sys/geom
diff options
context:
space:
mode:
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/eli/g_eli_ctl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/geom/eli/g_eli_ctl.c b/sys/geom/eli/g_eli_ctl.c
index 702f854..e420af3 100644
--- a/sys/geom/eli/g_eli_ctl.c
+++ b/sys/geom/eli/g_eli_ctl.c
@@ -132,8 +132,7 @@ g_eli_ctl_attach(struct gctl_req *req, struct g_class *mp)
if (*detach && *readonly) {
bzero(&md, sizeof(md));
- gctl_error(req, "Options -d and -r are mutually exclusive.",
- pp->name, error);
+ gctl_error(req, "Options -d and -r are mutually exclusive.");
return;
}
if (*detach)
OpenPOWER on IntegriCloud