Fix format string.

This commit is contained in:
Pawel Jakub Dawidek 2004-06-07 13:40:40 +00:00
parent 36939a0a5c
commit d462f0a1ac
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130193

View File

@ -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;
}