diff --git a/sys/geom/eli/g_eli_ctl.c b/sys/geom/eli/g_eli_ctl.c index 702f8542429..e420af3f5b8 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)