summaryrefslogtreecommitdiff
path: root/sys/geom/nop/g_nop.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/geom/nop/g_nop.c')
-rw-r--r--sys/geom/nop/g_nop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/geom/nop/g_nop.c b/sys/geom/nop/g_nop.c
index 52f454943e50..5ed6079e6b7c 100644
--- a/sys/geom/nop/g_nop.c
+++ b/sys/geom/nop/g_nop.c
@@ -142,7 +142,7 @@ g_nop_create(struct gctl_req *req, struct g_class *mp, struct g_provider *pp,
}
gp = g_new_geomf(mp, name);
if (gp == NULL) {
- gctl_error(req, "Cannot create geom %s%s.", name);
+ gctl_error(req, "Cannot create geom %s.", name);
return (ENOMEM);
}
gp->softc = NULL;
@@ -154,7 +154,7 @@ g_nop_create(struct gctl_req *req, struct g_class *mp, struct g_provider *pp,
newpp = g_new_providerf(gp, gp->name);
if (newpp == NULL) {
- gctl_error(req, "Cannot create provider %s%s.", name);
+ gctl_error(req, "Cannot create provider %s.", name);
error = ENOMEM;
goto fail;
}